summaryrefslogtreecommitdiffstats
path: root/salt/profile/zypp/init.sls
diff options
context:
space:
mode:
Diffstat (limited to 'salt/profile/zypp/init.sls')
-rw-r--r--salt/profile/zypp/init.sls13
1 files changed, 13 insertions, 0 deletions
diff --git a/salt/profile/zypp/init.sls b/salt/profile/zypp/init.sls
new file mode 100644
index 0000000..a964ccd
--- /dev/null
+++ b/salt/profile/zypp/init.sls
@@ -0,0 +1,13 @@
+zypp_files:
+ file.managed:
+ - user: root
+ - mode: '0644'
+ - template: jinja
+ - names:
+ - /etc/zypp/zypp.conf:
+ - source: salt:///{{ slspath }}/files/etc/zypp/zypp.conf.j2
+
+rpm_key_libertacasa:
+ cmd.run:
+ - name: 'rpm --import https://pepper.lysergic.dev/pub/libertacasa-obs-pubkey'
+ - unless: 'rpm -q gpg-pubkey-f8722274-5f7a4d7b'