12 Commits

Author SHA1 Message Date
Takashi Kajinami
8fcf75c906 Do not define service resource when service management is disabled
Change-Id: Ia99f99aef9d2f77dd7e57d3256de879267a4da01
2022-02-21 23:27:59 +09:00
Tobias Urdin
a053d4e86e Convert all class usage to relative names
Change-Id: Ic7b8f4e584e3f1ed1d5c6c568cc6caf67493cdda
2019-12-08 23:24:12 +01:00
ZhongShengping
2a99e642d8 Remove deprecated ensure_package option
Change-Id: I4d667ea525c9b7a48d8175b37c1cdfb55543ed39
2018-03-29 12:01:15 +08:00
ZhongShengping
3cf985f57e Inconsistent package_ensure parameter name
The parameter name used to enforce package state is inconsistent across
manifests and modules. I settle on package_ensure since it's already
widely used.

Change-Id: I887e924d184d9b25c33b5fe617d82f170d0cee34
Closes-Bug: #1668732
2017-03-09 09:25:07 +08:00
Matt Fischer
59f75e6085 Trove external dependency management
Move all dependency tracking to an external class which simplifies the
relationships and allows managing Trove without necessarily using
packages.

This change also cleans up how the client is handled to make
it more configurable and match other modules.

Finally the reference to the deprecated and non-functional
keystone::python class is dropped.

Change-Id: I943685fbeb114dead80b7465b8f5c564a0bc9fe0
2016-03-21 19:42:26 -06:00
Liao Penghui
4d152b2a24 Fix db sync command resource title.
The db sync command resource title is not consistent with the title in
resource colector. This patch fixes the name for consistency.

Change-Id: I46e26f7afd1907ace4121bbf570c58d0939687ff
2015-11-16 15:23:09 +08:00
Yanis Guenane
c9966f7d97 Add tag to package and service resources
In order to be able to take an action after all the packages of the
module have been installed/updated or all the services have been
started/restarted, we set a 'trove-package' and 'trove-service'
tag for each package and service of this module.

At the moment, there is a generic openstack tag that is not specific
enough if one wants to take action upon a single module change.

Use case :

If an action needs to be taken after all the packages have been
installed or updated : Package <| tag == 'trove-package' |> -> X

Change-Id: I969fbe7405a3eb3fab5437293c0efe1da57c631c
2015-07-22 21:36:10 +02:00
Sebastien Badia
51d4624f36 lint: Fix lint issues (missing documentation for define types)
The gem 'puppet-lint-param-docs' was bumped to 1.2.0 and now handle
class and define type. This patch fix lint issues (missing documentation).

Change-Id: Id27fd3637b59bf51d7b06b5065c597421dab513f
2015-06-25 11:41:14 +02:00
Sebastien Badia
feee104f7f Add Puppet 4.x lint checks
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some
just catch common errors.

Change-Id: I34c2eedd78868687613c7f89ce9aef92197f6c69
2015-03-16 18:41:48 +00:00
Sebastien Badia
1fc6cd2619 Migrate mysql backend to use openstacklib::db::mysql
Implements: blueprint commmon-openstack-database-resource
Change-Id: I0bde4c8f6609c3d7cefdfffcc0e6cf48f5e35592
2014-09-06 01:18:34 +02:00
Emilien Macchi
dcef06f12d Implement tests for trove::api 2014-07-02 14:49:45 +02:00
Emilien Macchi
4d84d61d48 First implementation of trove::api
- Add common parameters to init
- Implement generic_service
- Implement api

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-07-02 13:32:27 +02:00