Files
packstack/packstack/puppet/templates/nova_network_libvirt.pp
Gael Chamoulaud 219cf98b4f Adds Hiera implementation within Packstack
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>
2014-10-27 14:49:09 +01:00

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'],
}
}