Consolidate python memcache bindings install

Consolidate all the installs of python memcache
bindings to use ensure_package. Right now we are
mixing the usage of ensure_resources on some places
which causes redecalaration issues.

Change-Id: I4951a7ef3addf5c113107d68ec697b617731bc06
This commit is contained in:
Tobias Urdin 2020-05-27 12:20:08 +02:00
parent 67912587fc
commit c0d0059afe
1 changed files with 4 additions and 4 deletions

View File

@ -162,10 +162,10 @@ define oslo::cache(
tag => 'openstack',
})
} elsif ($backend =~ /\.memcache/ ) {
ensure_resources('package', { 'python-memcache' => {
name => $::oslo::params::python_memcache_package_name,
tag => ['openstack'],
}})
ensure_packages('python-memcache', {
name => $::oslo::params::python_memcache_package_name,
tag => ['openstack'],
})
}
}