c7e97b66b7c43b4d2a07c321927cb01f5187def2
15 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Takashi Kajinami
|
c7e97b66b7 |
Validate ensure parameter for package resources
The minimum version of puppetlabs-stdlib has been bumped globally, so now we can use the common type definition. Change-Id: I0f468404790f6b084e48110dc19a3ec6f0dd6163 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com> |
||
|
Takashi Kajinami
|
9718f428f5 |
Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I8ebe256188945780f730ab51fc07ee55d2ecd508 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com> |
||
|
Takashi Kajinami
|
682e3dd1bb |
Prepare for new lint plugins
This fixes a few lint warnings/errors detected by the following plugins we aim to enable soon. - puppet-lint-file_ensure-check - puppet-lint-trailing_comma-check - puppet-lint-topscope-variable-check Change-Id: I6f4f9d36a538dec703b5a58ae50b2a0cb29a75ee Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com> |
||
|
Takashi Kajinami
|
1a9a480750 |
Switch to namespace sdtlib functions
puppetlabs-stdlib deprecated the existing functions in favor of the new stdlib:: functions in 9.0.0. The version was released a few years ago and now we assume we are ready to adopt to the migration. Change-Id: I8dd955be370b6a9289dbb22e930464873d224898 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com> |
||
|
Takashi Kajinami
|
f5b84cb0c5 |
coordination: Install python3-kazoo when zookeeper is used
Change-Id: Ic9b7183f95c65f0c4faf2196941ea225e4f500e0 |
||
|
Takashi Kajinami
|
1d34a8d183 |
coordination: Remove support for etcd3 driver
... because the driver has been removed. Depends-on: https://review.opendev.org/901040 Change-Id: I502c33d2fe80f3dac3c4ebe1653f99cc91a144b0 |
||
|
Takashi Kajinami
|
976418c9c2 |
coordination: Use consistent tag format for package resources
... to avoid conflicts with the other implementations which require same packages. Closes-Bug: #2046317 Change-Id: I3d637b1c47ea17a565efb1d5e0b58ee701b21c8b |
||
|
Benedikt Trefzer
|
fd71263284 |
remove validate_legacy (Booleans only)
Change-Id: I58de785f83e11d3db2393bdc8dcd240f37e15fdd |
||
|
Takashi Kajinami
|
a996337333 |
[coordination] backend_url should be secret
The backend_url option can sometimes contain secrets. For example when redis coordination backend is used and authentication is enabled in redis, the plain redis password is put as an URL element. [coordination] backend_url=redis://:password@127.0.0.1:6379 Closes-Bug: #2012246 Change-Id: Idb7cba32fa81da698d408c27a854550b03e5abd4 |
||
|
Takashi Kajinami
|
ee865e8859 |
Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean values because non-boolean can result in unexpected behavior. Change-Id: I666fea269663f219500c3a3ee748393c343b3f72 |
||
|
Takashi Kajinami
|
548d68cf35 |
Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf |
||
|
Takashi Kajinami
|
60afb3379b |
coordination: Deprecate support of the etcd3 driver
The etcd3 driver of tooz has been deprecated. This change deprecates its support in the puppet modules so that we can remove the support in a future release. Depends-on: https://review.opendev.org/833107 Change-Id: I3cb9d3321957341d2110178ed7b67bfe3f265a38 |
||
|
Takashi Kajinami
|
872883d7f5 |
coordination: Allow disabling management of backend package
... which is already implemented in other resources like oslo::cache. Change-Id: I459b7b752a83f75b1cb05c2104812133039a9162 |
||
|
Takashi Kajinami
|
09ece82775 |
coordination: disable config management
It turned out that Gnocchi uses the different parameter name to define coordination backend. This change introduces a flag to disable managmeent of coordination parameters so that we can implement that management in specific manifets. Change-Id: I9eccb6b727f67d1e7b74f886e8c08562f1824aba |
||
|
Takashi Kajinami
|
475d6e8bbd |
Add the base implementation for coordination parameters
This change introduces the oslo::coordination resource type, which can be used to manage paramaeters and packages used for coordination(tooz). Change-Id: I93ee3a37137232604aaa1532f4d46bf28264b677 |