Files
puppet-openstacklib/manifests/openstackclient.pp
Matt Fischer 8469027d44 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
2015-12-07 16:49:27 -07:00

16 lines
375 B
Puppet

# == Class: openstacklib::openstackclient
#
# Installs the openstackclient
#
# == Parameters
#
# [*package_ensure*]
# Ensure state of the openstackclient package.
# Optional. Defaults to 'present'.
#
class openstacklib::openstackclient(
$package_ensure = 'present',
){
ensure_packages('python-openstackclient', {'ensure' => $package_ensure, tag => 'openstack'})
}