aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-10 11:35:32 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-10 11:35:32 -0200
commit7aec8f48970c0093f5c81742dc6f309f142ffca7 (patch)
treee5b516691cd925f4b35120311e1e0d35042c3ba7 /manifests
parentac262a9c4c1f353a251c50d75d9cf57734747b6a (diff)
downloadpuppet-nodo-7aec8f48970c0093f5c81742dc6f309f142ffca7.tar.gz
puppet-nodo-7aec8f48970c0093f5c81742dc6f309f142ffca7.tar.bz2
Domain source list
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nodo.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 0cfe743..dcdbedd 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -43,6 +43,12 @@ class nodo {
include apt
include apt::unattended_upgrades
+
+ if $apt_domain_source == true {
+ apt::sources_list { "$domain.list":
+ source => "puppet:///modules/site-apt/sources.list.d/$domain.list",
+ }
+ }
}
# Default SSH configuration