summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
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]
}
}