if $enabled { $service_ensure = "running" } else { $service_ensure = "stopped" file { "/etc/libvirt/qemu.conf": ensure => present, notify => Exec[ '/etc/init.d/libvirt-bin restart'], source => 'puppet:///modules/quantum/qemu.conf', } exec { '/etc/init.d/libvirt-bin restart': refreshonly => true, } }
... think this might be an issue ;)
if $enabled { qemu.conf" : d/libvirt- bin restart'], ///modules/ quantum/ qemu.conf' , d/libvirt- bin restart':
$service_ensure = "running"
} else {
$service_ensure = "stopped"
file { "/etc/libvirt/
ensure => present,
notify => Exec[ '/etc/init.
source => 'puppet:
}
exec { '/etc/init.
refreshonly => true,
}
}
... think this might be an issue ;)