Commit Graph

10 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 cf3e7b2c23 Aodh: Sync default value in parameter description
This fixes default values in parameter description which do not match
the actual values or are missing.

Change-Id: I9bd4458c094c301339f7b9d45f25670f3b715bd4
2022-04-27 01:29:03 +00:00
Takashi Kajinami ad9fcbd9b8 Aodh: 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: Ie4afe07edb1166beb09af7d49bf39abacfd8c716
2022-04-13 09:14:05 +09:00
Takashi Kajinami bf8895796f Revert "Aodh deprecation"
This reverts commit de98e1411b.

Reason for revert:
Aodh service has never been 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/aodh/api.pp
        manifests/profile/base/aodh/evaluator.pp
        manifests/profile/base/aodh/listener.pp
        manifests/profile/base/aodh/notifier.pp

Resolved conflicts caused by migration of class name format (from
absolute names to relative names)

Change-Id: I43eb5e96a2f15c4c49193c676acccce9c3f413c1
2021-07-07 07:27:22 +00:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Martin Magr de98e1411b Aodh deprecation
Service assurance framework is going to replace Aodh as alerting solution in T release.
This patch adds warning about the service removal.

Change-Id: Icef377071aaad5b58518a8a436c5821532482be2
2019-01-14 16:08:09 +01: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
Pradeep Kilambi e30bfc9b5a Clean up unused params from aodh profiles
Change-Id: I7c89fcef8cdd0e73ef8c5d615bb55db177abd375
2016-08-17 10:50:12 -04:00
Carlos Camacho 65ea36f60e Fix deployment steps for AODH profiles
The services in the AODH profiles were
limited to be executed only in the
bootstrap master node.

Change-Id: I85cfa97f0e5e9a70e86e51d8188a2abf86e2ec1c
2016-08-17 10:21:48 +02:00
Pradeep Kilambi 64df5d7449 Implement aodh profiles
Change-Id: Ie48a123cc5bc402aee635a5daf118b158c6f3b6a
Implements: blueprint refactor-puppet-manifests
2016-08-04 14:54:01 +02:00