diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:28:22 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:28:22 -0200 |
commit | 366f61dafb986a9ee6577557d09d6c9fccd34084 (patch) | |
tree | 9efbc185db965777fc0490236c3891e9d8579e58 | |
parent | 3e6e7782436f9319d5323cafba1a4a9b17d5120e (diff) | |
download | puppet-nodo-366f61dafb986a9ee6577557d09d6c9fccd34084.tar.gz puppet-nodo-366f61dafb986a9ee6577557d09d6c9fccd34084.tar.bz2 |
Getting apt_domain_source from hiera
-rw-r--r-- | manifests/nodo.pp | 2 |
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 ? { |