Jakub Pavlik | 1af183b | 2015-02-22 18:25:28 +0100 | [diff] [blame] | 1 | {% set server = salt['grains.filter_by']({ |
| 2 | 'Debian': { |
Jakub Pavlik | 3ef948a | 2015-02-22 18:53:19 +0100 | [diff] [blame] | 3 | 'pkgs': ['libvirt-bin','pm-utils','libvirt0','qemu-kvm','qemu-utils','bridge-utils','python-libvirt'], |
Jakub Pavlik | 1af183b | 2015-02-22 18:25:28 +0100 | [diff] [blame] | 4 | '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')) %} |