summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-12 23:54:28 +0100
committervarac <varacanero@zeromail.org>2013-03-12 23:54:28 +0100
commit9c1c97b2e2e5b2f361bebe991d7229d271773e24 (patch)
treec152e9666a9b6722bf3bbf31cd17e2fb26572d9f /puppet/modules/site_apt/manifests
parent91877ee952ed89107f800309c23c34e84fc3fd90 (diff)
enable leap deb package repository and leap apt key on all hosts
Diffstat (limited to 'puppet/modules/site_apt/manifests')
-rw-r--r--puppet/modules/site_apt/manifests/init.pp3
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp6
2 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp
index 80c6fbde..1f8456b2 100644
--- a/puppet/modules/site_apt/manifests/init.pp
+++ b/puppet/modules/site_apt/manifests/init.pp
@@ -2,6 +2,9 @@ class site_apt {
include ::apt
+ # enable http://deb.leap.se debian package repository
+ include site_apt::leap_repo
+
apt::apt_conf { '90disable-pdiffs':
content => 'Acquire::PDiffs "false";';
}
diff --git a/puppet/modules/site_apt/manifests/leap_repo.pp b/puppet/modules/site_apt/manifests/leap_repo.pp
new file mode 100644
index 00000000..7b2128cd
--- /dev/null
+++ b/puppet/modules/site_apt/manifests/leap_repo.pp
@@ -0,0 +1,6 @@
+class site_apt::leap_repo {
+ apt::sources_list {'leap.list':
+ content => "deb http://deb.leap.se/debian $::lsbdistcodename main"
+ }
+
+}