This patch aims to add a new class to manage cloudkitty client. Change-Id: I22acb19a956896dada720c64bd42fd65d621a3b8
		
			
				
	
	
		
			25 lines
		
	
	
		
			460 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			460 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
# == Class cloudkitty::client
 | 
						|
#
 | 
						|
# Installs the cloudkitty client.
 | 
						|
#
 | 
						|
# == Parameters
 | 
						|
#
 | 
						|
#  [*ensure*]
 | 
						|
#    (Optional) The state for the cloudkitty client package.
 | 
						|
#    Defaults to 'present'.
 | 
						|
#
 | 
						|
class cloudkitty::client (
 | 
						|
  $ensure = 'present'
 | 
						|
) {
 | 
						|
 | 
						|
  include ::cloudkitty::deps
 | 
						|
  include ::cloudkitty::params
 | 
						|
 | 
						|
  package { 'python-cloudkittyclient':
 | 
						|
    ensure => $ensure,
 | 
						|
    name   => $::cloudkitty::params::client_package_name,
 | 
						|
    tag    => 'openstack',
 | 
						|
  }
 | 
						|
 | 
						|
}
 |