aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 17:28:22 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 17:28:22 -0200
commit366f61dafb986a9ee6577557d09d6c9fccd34084 (patch)
tree9efbc185db965777fc0490236c3891e9d8579e58 /manifests
parent3e6e7782436f9319d5323cafba1a4a9b17d5120e (diff)
downloadpuppet-nodo-366f61dafb986a9ee6577557d09d6c9fccd34084.tar.gz
puppet-nodo-366f61dafb986a9ee6577557d09d6c9fccd34084.tar.bz2
Getting apt_domain_source from hiera
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nodo.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 50725a7..f57e86d 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -66,6 +66,8 @@ class nodo {
include apt::unattended_upgrades
+ $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",
ensure => $apt_domain_source ? {