summaryrefslogtreecommitdiff
path: root/3isec
diff options
context:
space:
mode:
Diffstat (limited to '3isec')
-rw-r--r--3isec/3isec-setup.sls23
-rw-r--r--3isec/3isec-setup.top3
-rw-r--r--3isec/3isec.repo8
3 files changed, 34 insertions, 0 deletions
diff --git a/3isec/3isec-setup.sls b/3isec/3isec-setup.sls
new file mode 100644
index 0000000..7e5b8df
--- /dev/null
+++ b/3isec/3isec-setup.sls
@@ -0,0 +1,23 @@
+/etc/pki/rpm-gpg/RPM-GPG-KEY-unman:
+ file.managed:
+ - source: salt://keys/RPM-GPG-KEY-unman
+ - user: root
+ - group: root
+ - mode: 777
+
+/etc/yum.repos.d/3isec-dom0.repo:
+ file.managed:
+ - source: salt://3isec/3isec.repo
+ - user: root
+ - group: root
+ - mode: 777
+
+'sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-unman':
+ cmd.run
+
+dom0--install-3isec-manager:
+ pkg.installed:
+ - pkgs:
+ - 3isec-qubes-task-manager
+
+
diff --git a/3isec/3isec-setup.top b/3isec/3isec-setup.top
new file mode 100644
index 0000000..8b2aee4
--- /dev/null
+++ b/3isec/3isec-setup.top
@@ -0,0 +1,3 @@
+user:
+ dom0:
+ - 3isec.3isec-setup
diff --git a/3isec/3isec.repo b/3isec/3isec.repo
new file mode 100644
index 0000000..d26827c
--- /dev/null
+++ b/3isec/3isec.repo
@@ -0,0 +1,8 @@
+[3isec-dom0-current]
+name = 3isec Qubes Dom0 Repository (updates)
+baseurl = https://qubes.3isec.org/rpm/r$releasever/current/dom0/fc37
+skip_if_unavailable=False
+enabled = 1
+metadata_expire = 6h
+gpgcheck = 1
+gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-unman