Avoid duplicate client resource

python-openstackclient is used by a few other classes, so switch to
ensure_resource to avoid duplicate package declarations.

Partial-Bug: #1523643

Change-Id: I437b266344cf6ace683379c1999fc08fbdee756c
This commit is contained in:
Matt Fischer 2015-12-03 20:39:54 -07:00
parent 8458b46954
commit 8469027d44

View File

@ -11,8 +11,5 @@
class openstacklib::openstackclient( class openstacklib::openstackclient(
$package_ensure = 'present', $package_ensure = 'present',
){ ){
package { 'python-openstackclient': ensure_packages('python-openstackclient', {'ensure' => $package_ensure, tag => 'openstack'})
ensure => $package_ensure,
tag => 'openstack',
}
} }