 219cf98b4f
			
		
	
	219cf98b4f
	
	
	
		
			
			Packstack configures Hiera as data backend. Packstack puppet templates are now using hiera() and hiera_array() functions to fetch data from hiera backend. Packstack generates a defaults.yaml file in the /var/tmp/packstack directory. Firewall rules for each openstack components are inserted into the hiera backend as hash and created by the create_resources function. Change-Id: Iab553a71264b0fc0f26d33a6304b545ad302f664 Fixes: rhbz#1145223 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			270 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
| $vmware_backend = hiera('CONFIG_VMWARE_BACKEND')
 | |
| 
 | |
| if $vmware_backend == 'n' {
 | |
|   exec { 'libvirtd_reload':
 | |
|     path      => ['/usr/sbin/', '/sbin'],
 | |
|     command   => 'service libvirtd reload',
 | |
|     logoutput => 'on_failure',
 | |
|     require   => Class['nova::network'],
 | |
|   }
 | |
| }
 |