diff options
author | Georg Pfuetzenreuter | 2023-02-12 03:57:52 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-02-12 04:11:14 +0100 |
commit | 8e1436d4afaeb72440157a81fc98abd98b3badcc (patch) | |
tree | fb4b988cd2c93464cebfba69b189e89b3bd683ff /salt | |
parent | b6b7ff1e33e469678ae60814677cf95ecfedf631 (diff) | |
download | salt-8e1436d4afaeb72440157a81fc98abd98b3badcc.tar.gz salt-8e1436d4afaeb72440157a81fc98abd98b3badcc.tar.bz2 salt-8e1436d4afaeb72440157a81fc98abd98b3badcc.zip |
common.suse: manage qemu-guest-agent
Ensure qemu-guest-agent is active on all KVM guests.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt')
-rw-r--r-- | salt/common/suse.sls | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/salt/common/suse.sls b/salt/common/suse.sls index baf0167..e260c77 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -46,6 +46,15 @@ common_packages_install: - names: - fish - system-group-wheel +{%- if grains['virtual'] == 'kvm' %} + - qemu-guest-agent + +qemu-guest-agent: + service.running: + - enable: True + - require: + - pkg: qemu-guest-agent +{%- endif %} common_packages_remove: pkg.removed: |