Commit Graph

13 Commits

Author SHA1 Message Date
Takashi Kajinami ad0df19423 Use new openstackclient tag
The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to designateclient
because the package provides some sub-commands.

Change-Id: I882545f76950d6521f4e40c3ae23689c2eeda7d3
2023-11-20 01:14:12 +09:00
Takashi Kajinami dd44ce031e Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ica6edbc7077c0bb2021cc737f44f3ced84cd5f83
2023-03-01 16:49:01 +09:00
Thomas Goirand 369f391be0 Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: I7345ff04a5a4a7fe30c54871a35e391b21781653
2021-05-21 11:10:34 +02:00
Takashi Kajinami e01c31595d Expect python3 client package in CentOS8
In CentOS, we expect to have python3 client package in 8.x while we
expect to have python2 in 7.x .
Fix unit tests to expect the correct version according to os major
version.

Change-Id: I06569b7784110fd866b38ac51f1d70274083377d
2020-03-31 16:25:30 +09:00
ZhongShengping 7173fefc39 Add openstackclient installation to the client class
The repo is inside the openstackclient plugin commands[1].

[1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html

Change-Id: Iaea6f4c1df928c273ef358dcfaf95a49963bee20
2019-05-17 16:31:15 +08:00
Tobias Urdin da20139d5d Inherit pyvers from openstacklib::defaults
Change-Id: I6fc7d44af02ad6b4568fecdea0428da91e454b43
2019-01-17 21:25:28 +01:00
zhubingbing 96a48ab04b Debian is using python3-designateclient
Change-Id: I55b1d17a2bee2ba4f4b2195c9f58a64c9cad9a77
2018-04-12 11:14:53 +08:00
ZhongShengping 1e95f32a6f Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: If9fa188b7dca47e6724a737d66e34c0c85668c36
2016-12-01 08:44:02 +08:00
Alex Schultz a4cbc77b60 Update tests to use rspec-puppet-facts
This change is to update the tests to leverage rspec-puppet-facts for
testing multiple osfamilies.

Change-Id: Id9b82f083abb4990a6d635a8ba1a3629c4c4085b
2016-01-23 21:41:35 -07:00
Gael Chamoulaud 572482ab24 Tag all Designate packages
Some users wish to override the default package provider by their own.

Tag all packages with the 'openstack' to allow mass resource attributes
override using resource collectors.

Closes-bug: #1391209

Change-Id: Idcd296c754c4c66efcbdd1672c8367ce3539b268
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-31 10:32:19 +02:00
Gael Chamoulaud 4bce7b46ef Fix rspec 3.x oneliner deprecation
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x) *

Change-Id: I06ca2322319f3a8bce92764e964e9fd5b6c0fd51
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-20 10:57:00 +01:00
Clayton O'Neill 2861be7d21 Make all package name and ensure customizable
This makes all package names and package ensure values customizable as
parameters.  This is helpful for people who are not using vendor
provided packaging.  This also normalizes the package ensure value to be
'present' in all case.

Change-Id: Iee186f753b2800e59addd3f38591675fd5af35ad
2015-02-15 16:07:53 +00:00
Sebastien Badia 343b049414 spec: Added designate::* unit tests
Change-Id: I01410468db17e84db0667ca4db4a58d0f108d8cc
2014-11-24 19:43:33 +01:00