 3f0bda3f6c
			
		
	
	3f0bda3f6c
	
	
	
		
			
			... so that we can define dependencies on client packages. Change-Id: If6f54d9b63ebe0dbc7e82795d0ba3fb88551086e
		
			
				
	
	
		
			25 lines
		
	
	
		
			653 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			653 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
| # == 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']
 | |
|   })
 | |
| }
 |