blob: e6fddbce51af3278e12fa003f9e3cfe8cf9bf771 [file] [log] [blame]
Jakub Pavlik1af183b2015-02-22 18:25:28 +01001{% set server = salt['grains.filter_by']({
2 'Debian': {
Jakub Pavlik3ef948a2015-02-22 18:53:19 +01003 'pkgs': ['libvirt-bin','pm-utils','libvirt0','qemu-kvm','qemu-utils','bridge-utils','python-libvirt'],
Jakub Pavlik1af183b2015-02-22 18:25:28 +01004 'service': 'libvirt-bin',
5 'config': '/etc/libvirt/libvirtd.conf',
6 'config_sys': '/etc/default/libvirt-bin'
7 },
8 'RedHat': {
9 'pkgs': ['libvirt','qemu-kvm'],
10 'service': 'libvirtd',
11 'config': '/etc/libvirt/libvirtd.conf',
12 'config_sys': '/etc/sysconfig/libvirtd'
13 },
14}, merge=salt['pillar.get']('libvirt:server')) %}