summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-13 10:56:24 +0100
committervarac <varacanero@zeromail.org>2013-03-13 10:56:24 +0100
commit65afb3a013fedd7c2d5eef15ac879a41c51de8e0 (patch)
treecedaff943f634a55aed140e042e398f18de23ca9 /puppet/modules
parente29cd9b4f4d26afd28b31c5b225eb1bac3416ed0 (diff)
install apt key before apt-get update
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_apt/manifests/leap_repo.pp b/puppet/modules/site_apt/manifests/leap_repo.pp
index 7b2128cd..81559abd 100644
--- a/puppet/modules/site_apt/manifests/leap_repo.pp
+++ b/puppet/modules/site_apt/manifests/leap_repo.pp
@@ -1,6 +1,7 @@
class site_apt::leap_repo {
apt::sources_list {'leap.list':
- content => "deb http://deb.leap.se/debian $::lsbdistcodename main"
+ content => "deb http://deb.leap.se/debian ${::lsbdistcodename} main",
+ before => Exec[refresh_apt]
}
}