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:
parent
8458b46954
commit
8469027d44
@ -11,8 +11,5 @@
|
||||
class openstacklib::openstackclient(
|
||||
$package_ensure = 'present',
|
||||
){
|
||||
package { 'python-openstackclient':
|
||||
ensure => $package_ensure,
|
||||
tag => 'openstack',
|
||||
}
|
||||
ensure_packages('python-openstackclient', {'ensure' => $package_ensure, tag => 'openstack'})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user