Currently logging configuration is splitted in two distinct classes,
the api.pp and the logging.pp classes. This review aims to centralize
all logging related parameters in a single class, the logging.pp one.
The impacted parameters are :
* use_syslog
* use_stderr
* log_facility
* verbose
* debug
* log_dir
* log_file
This change remains backward compatible with what is currently in place.
Related-bug: #1515273
Change-Id: I76f51876e78015db722ff0fc37f6bcd76fd651f2
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
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
This patch is aim to add region and url related options in trove.conf:
- os_region_name
- nova_compute_service_type
- cinder_service_type
- swift_service_type
- heat_service_type
- neutron_service_type
- neutron_url
Closes-Bug: #1473280
Change-Id: Id9b57351b0fc3c81565310f4ce6ae2b8aa2564f2
This patch fixes:
- invalid client package name for RH platform
- missing common package installation in init.pp
- package/group/directory creation order for CentOS,
but leaves invalid order for Ubuntu because without
it is not installable (see bug #1365561)
- exists_notification_transformer is disabled
to workaround bug #1402055
Change-Id: I4354fb3a1e3f075070fa492420017b94241b3f60
This patch aim to update our specs test in order to work with the new
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax in
order to be prepared for rspec 3.x move.
In details:
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
* Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
Change-Id: I6e85576823fc93ac0b7a7dff06032d71682259ad
In Icehouse, Trove wasn't able to query Keystone for the
endpoints for those services yet, they had to be set in the
configuration files.
Change-Id: Ia4464652e0e4b05e89011295855de0bfc5be1be1
Since the parameters are used on other class, it's smarter to have them
on init class to just reuse them.
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>