aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-30 12:42:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-30 12:42:04 -0200
commit1b7233799714c0ba115708ad46661fd9c77c624c (patch)
treea2e0492b4158802d5c8bd0e70fe8e887c48c63cf
parente2ffafb8115f62d2df325b810a70b15cb91855fe (diff)
downloadpuppet-nodo-1b7233799714c0ba115708ad46661fd9c77c624c.tar.gz
puppet-nodo-1b7233799714c0ba115708ad46661fd9c77c624c.tar.bz2
Giving more options to apt_domain_source
-rw-r--r--manifests/nodo.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 566ee19..32407d3 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -71,7 +71,8 @@ class nodo {
$apt_domain_source = hiera('nodo::apt_domain_source', false)
apt::sources_list { "${::domain}.list":
- source => "puppet:///modules/site_apt/sources.list.d/${::operatingsystem}/${::domain}.list",
+ source => [ "puppet:///modules/site_apt/sources.list.d/${::operatingsystem}/${::lsbdistcodename}/${::domain}.list",
+ "puppet:///modules/site_apt/sources.list.d/${::operatingsystem}/${::domain}.list", ],
ensure => $apt_domain_source ? {
true => present,
default => absent,