Commit Graph

17 Commits

Author SHA1 Message Date
Ghanshyam Mann e06f50cb06 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I73df79a8698625815ea4e3099904da448a49887e
2024-02-24 11:42:30 -08:00
Takashi Kajinami c0aaf96791 Gnocchi: Replace hiera by lookup
The hiera function is deprecated and does not work with the latest
hieradata version 5. It should be replaced by the new lookup
function[1].

[1] https://puppet.com/docs/puppet/7/hiera_automatic.html

With the lookup function, we can define value type and merge behavior,
but these are kept default at this moment to limit scope of this change
to just simple replacement. Adding value type might be useful to make
sure the value is in expected type (especially when a boolean value is
expected), but we will revisit that later.

example:
lookup(<NAME>, [<VALUE TYPE>], [<MERGE BEHAVIOR>], [<DEFAULT VALUE>])

Change-Id: Ic4fac5d0595ff5addf4d47ae6391f65784e1a03c
2022-05-02 17:29:21 +09:00
Takashi Kajinami 7045142b54 Gnocchi: Clean up unused parameters
Gnocchi manifests have a few parameters defined but unused. This change
removes these ineffective parameters.

Change-Id: Ie2a8e6bdf5bae116f458fa3743fb400f731e2a84
2022-05-02 17:27:49 +09:00
Takashi Kajinami 1ccc83a3f5 Remove unused variables in tripleo::profile::base::gnocchi
tls_certfile and tls_keyfile is used to set up ssl certs in apache and
these variables are not required in the base class but used by the api
class.

Change-Id: If7ac460ee1783f8816250484611269794fc8fc2f
2021-08-22 18:53:35 +09:00
Takashi Kajinami 8a2dd48394 Revert "Deprecate warnings for Ceilometer and Gnocchi"
This reverts commit 88ef2afcbf.

Reason for revert:
Ceilometer and Gnocchi are not deprecated in tripleo-heat-templates.
The current warning in puppet-tripleo gives a wrong notice to users.
Deprecation should happen in a consistent manner within all TripleO
repos.

Conflicts:
	manifests/profile/base/gnocchi.pp

Change-Id: I41ebb5c84db3cffa897c259729caa6b5247dd0e9
2021-08-08 02:46:37 +09:00
Takashi Kajinami 7b3a8cd891 Include db classes explicitly
Since database parameters in the base classes were deprecated, it is
likely that db classes are no longer included automatically in a future
release. Let's ensure that the db classes are included so that
database parameters are always set.

Change-Id: I2a28cd1b7a92776b711eb784db3c4a486dcf6a85
2021-07-26 10:13:30 +09:00
Takashi Kajinami 5b0437919d Do not include client classes
The client classes are used to install client packages like aodhclient,
but there is no need to install these client packages when installing
services. In addition, package installation is no longer enabled since
services are containerized, so these classes are no longer effective.

Change-Id: Iced0d69556f61e6facfb1462de3ad241b5dfcfcb
2021-04-20 08:03:40 +09:00
Takashi Kajinami 97febdc778 Include gnocchi::db explicitly
The inclusion of gnocchi::db will be removed from gnocchi when we
remove deprecated database_connection parameter[1], thus we should
include the class explicitly.

[1] https://review.opendev.org/#/c/748928/

Change-Id: I2f52473edb78b5359eeb5c734b4d9691f86ccd26
2020-08-31 17:39:56 +09:00
Alex Schultz a566d6b9b8 Add check for bootstrap_node for downcase
Downcase in puppet 6.14 throws an error if the input to it is Undef. We
can avoid this by checking for a value before trying to downcase.

See context https://review.rdoproject.org/r/#/c/26297/

Change-Id: Ib2e97060523a4198a14949a15c9171b56928699c
2020-04-07 14:51:41 -06:00
Takashi Kajinami 02ffeba0d9 Replace deprecated gnocchi::storage::coordination_url
The gnocchi::storage::corrdination_url parameter was deprecated to be
replaced by the gnocchi::coordination_url parameter.
This patch make puppet-tripleo to use the new parameter instead of the
deprecated one.

Depends-on: https://review.opendev.org/#/c/713448/
Change-Id: I2bbe95375c465aea8d2fe91b31897541ed998ae7
2020-03-26 09:03:09 +09:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Martin Magr 88ef2afcbf Deprecate warnings for Ceilometer and Gnocchi
Those two services are going to be removed in future, so we need to warn users.

Change-Id: Ic458adce077249998604bb227417e1e9a834473d
2019-03-11 11:43:53 +01:00
Alex Schultz 3ec92d3efc Add explicit logging class inclusion
These have been dropped from some of the puppet classes by default. We
still need to include them so our debug logging works.

Change-Id: I4e65219d9669fdd16b2663b7239354330ffbae38
2018-12-17 14:49:44 -07:00
Pradeep Kilambi 85d05d75b1 Include cors to gnocchi profile
Depends-On: I4f750863ba1bde478efff026f9bc64bac13030ec
Change-Id: Ib7e28f85d539bcb1eab444ddd763d6f9a4ed1570
2018-06-15 20:47:24 +00:00
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Carlos Camacho 689d80e971 Fix parameters and headers inconsistency in the puppet manifests.
As we are staring to manually check overcloud services
the first step is to check that the puppet profiles
are all aligned.

Changes applied:

  No logic added or removed in this submission.

  Removed unused parameters.

  Align header comments structure.

  All profiles parameters sorted following:
  "Mandatory params first sorted alphabetically
  then optional params sorted alphabetically."

Note: Following submissions will check pacemaker,
cinder, mistral and redis services in the base profiles
as some of them has the $pacemaker_master parameter
defaulted to true.

Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655
2016-08-08 22:44:01 +02:00
Pradeep Kilambi e6a9b6fbc0 Add gnocchi profiles
Implements: blueprint refactor-puppet-manifests

Co-Authored-By: Carlos Camacho <ccamacho@redhat.com>
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>

Change-Id: I38f218da118c45f3af1938eb17298017f4c70e24
2016-07-05 14:10:42 -04:00