blob: e6fddbce51af3278e12fa003f9e3cfe8cf9bf771 [file] [log] [blame]
{% set server = salt['grains.filter_by']({
'Debian': {
'pkgs': ['libvirt-bin','pm-utils','libvirt0','qemu-kvm','qemu-utils','bridge-utils','python-libvirt'],
'service': 'libvirt-bin',
'config': '/etc/libvirt/libvirtd.conf',
'config_sys': '/etc/default/libvirt-bin'
},
'RedHat': {
'pkgs': ['libvirt','qemu-kvm'],
'service': 'libvirtd',
'config': '/etc/libvirt/libvirtd.conf',
'config_sys': '/etc/sysconfig/libvirtd'
},
}, merge=salt['pillar.get']('libvirt:server')) %}