File: openstackclient.pp

package info (click to toggle)
puppet-module-openstacklib 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 956 kB
  • sloc: ruby: 4,549; python: 33; sh: 22; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# == Class: openstacklib::openstackclient
#
# Installs the openstackclient
#
# == Parameters
#
#  [*package_ensure*]
#    (Optional) Ensure state of the openstackclient package.
#    Defaults to 'present'
#
#  [*package_name*]
#    (Optional) The name of the package to install
#    Defaults to $openstacklib::params::openstackclient_package_name
#
class openstacklib::openstackclient (
  String[1] $package_name                 = $openstacklib::params::openstackclient_package_name,
  Stdlib::Ensure::Package $package_ensure = 'present'
) inherits openstacklib::params {
  stdlib::ensure_packages($package_name, {
    'ensure' => $package_ensure,
    'tag'    => ['openstack', 'openstackclient']
  })
}