]> Frank Brehm's Git Trees - salt/pillar.git/commitdiff
Adding and using debian_repo.sls
authorFrank Brehm <frank@brehm-online.com>
Wed, 26 Oct 2016 11:08:16 +0000 (13:08 +0200)
committerFrank Brehm <frank@brehm-online.com>
Wed, 26 Oct 2016 11:08:16 +0000 (13:08 +0200)
debian_repo.sls [new file with mode: 0644]
top.sls

diff --git a/debian_repo.sls b/debian_repo.sls
new file mode 100644 (file)
index 0000000..c19ca3d
--- /dev/null
@@ -0,0 +1,17 @@
+has_debian_repo: True
+debian_repo:
+  root_dir: /var/www/html
+  debian_sub_dir: Debian
+  debian_distros:
+    - wheezy
+    - jessie
+    - stretch
+  ubuntu_sub_dir: Ubuntu
+  ubuntu_distros:
+    - trusty
+    - vivid
+    - wily
+    - xenial
+    - yakkety 
+  sources_sub_dir: Sources
+
diff --git a/top.sls b/top.sls
index c8835c8228e5e7d3ccde9271fec9cdee8f631507..137d639b643f8c25f125858b0aff0bca18ced347 100644 (file)
--- a/top.sls
+++ b/top.sls
@@ -13,6 +13,7 @@ base:
     - bind.common
     - bind.secondary
     - apache
+    - debian_repo
 
   'sarah.uhu-banane.de':
     - location.pb-fra
@@ -30,6 +31,7 @@ base:
     - bind.common
     - bind.secondary
     - apache
+    - debian_repo
 
   'ns3.uhu-banane.de':
     - location.gridscale