summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-12 04:13:50 +0100
committerGeorg Pfuetzenreuter2023-02-12 04:13:50 +0100
commit1b0965943f6223354e2de6c647a2024f4c835a83 (patch)
tree26098dbd638dfb0d7c9fcc3fa574c049f744517f
parent95248fd37469c743e09e52872f26cc549b043995 (diff)
parent8e1436d4afaeb72440157a81fc98abd98b3badcc (diff)
downloadsalt-1b0965943f6223354e2de6c647a2024f4c835a83.tar.gz
salt-1b0965943f6223354e2de6c647a2024f4c835a83.tar.bz2
salt-1b0965943f6223354e2de6c647a2024f4c835a83.zip
Merge pull request 'common-suse: add qemu-guest-agent + remove AutoYaST' (#23) from common-suse into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/23
-rw-r--r--salt/common/suse.sls23
1 files changed, 22 insertions, 1 deletions
diff --git a/salt/common/suse.sls b/salt/common/suse.sls
index bd427ff..e260c77 100644
--- a/salt/common/suse.sls
+++ b/salt/common/suse.sls
@@ -41,8 +41,29 @@ ca-certificates-syscid:
- require:
- pkgrepo: libertacasa_rpm_repository
-common_packages:
+common_packages_install:
pkg.installed:
- 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:
+ - pkgs:
+ {#- we only use AutoYaST for the OS deployment #}
+ - autoyast2
+ - autoyast2-installation
+ - libX11-data
+ - yast2-add-on
+ - yast2-services-manager
+ - yast2-slp
+ - yast2-trans-stats