aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,