Move all dependency tracking to an external class which simplifies the relationships and allows managing Mistral without necessarily using packages. Change-Id: If83638c6cdabc4256cd775d7a0187a5668e4d2c9
		
			
				
	
	
		
			23 lines
		
	
	
		
			445 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			445 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
# == Class: mistral::client
 | 
						|
#
 | 
						|
# Installs mistral python client.
 | 
						|
#
 | 
						|
# === Parameters
 | 
						|
#
 | 
						|
# [*package_ensure*]
 | 
						|
#   Ensure state for package. Defaults to 'present'.
 | 
						|
#
 | 
						|
class mistral::client(
 | 
						|
  $package_ensure = 'present'
 | 
						|
) {
 | 
						|
 | 
						|
  include ::mistral::deps
 | 
						|
  include ::mistral::params
 | 
						|
 | 
						|
  package { 'python-mistralclient':
 | 
						|
    ensure => $package_ensure,
 | 
						|
    name   => $::mistral::params::client_package,
 | 
						|
    tag    => ['openstack', 'mistral-package'],
 | 
						|
  }
 | 
						|
}
 |