File: openstackclient.pp

package info (click to toggle)
puppet-module-openstacklib 25.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 968 kB
  • sloc: ruby: 4,500; python: 38; sh: 22; makefile: 10
file content (24 lines) | stat: -rw-r--r-- 653 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
24
# == 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(
  $package_name   = $::openstacklib::params::openstackclient_package_name,
  $package_ensure = 'present',
) inherits openstacklib::params {

  ensure_packages($package_name, {
    'ensure' => $package_ensure,
    'tag'    => ['openstack', 'openstackclient']
  })
}