Consolidate Redis install to ensure_packages
Consolidate all the installs of Redis bindings
bindings to use ensure_package. Right now we
are using ensure_resources in Aodh and Gnocchi
modules which causes redeclaration issues.
Change-Id: Ia34267859cb79cd5f7491c34c6d80800e2e79f5b
(cherry picked from commit ee532b047e
)
This commit is contained in:
parent
617edcaf1e
commit
039b59dcc0
|
@ -42,7 +42,7 @@ class gnocchi (
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($coordination_url =~ /^redis/ ) {
|
if ($coordination_url =~ /^redis/ ) {
|
||||||
ensure_resource('package', 'python-redis', {
|
ensure_packages('python-redis', {
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
name => $::gnocchi::params::redis_package_name,
|
name => $::gnocchi::params::redis_package_name,
|
||||||
tag => 'openstack',
|
tag => 'openstack',
|
||||||
|
|
Loading…
Reference in New Issue