diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-14 15:59:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-14 15:59:26 -0300 |
commit | cc27104120e4c271ff8456dd4071aaacaf0e87c8 (patch) | |
tree | 0d5bb9ec0ed358c8d816a7a0a6207926fbb4fea9 /manifests | |
parent | b432165cd092e15bbe920618be9214cf2586a3f8 (diff) | |
download | puppet-nodo-cc27104120e4c271ff8456dd4071aaacaf0e87c8.tar.gz puppet-nodo-cc27104120e4c271ff8456dd4071aaacaf0e87c8.tar.bz2 |
Testing class relationships again for apt
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystem/apt.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp index fac90b3..a5221f7 100644 --- a/manifests/subsystem/apt.pp +++ b/manifests/subsystem/apt.pp @@ -1,4 +1,7 @@ class nodo::subsystem::apt { + # Class relationships + Class['::apt'] -> Class['::apt::unattended_upgrades'] + # # Apt configuration # @@ -8,6 +11,8 @@ class nodo::subsystem::apt { custom_key_dir => hiera('nodo::subsystem::apt::custom_key_dir', 'puppet:///modules/site_apt/keys.d') } + class { '::apt::unattended_upgrades': } + $apt_domain_source = hiera('nodo::subsystem::apt::domain_source', false) apt::sources_list { "${::domain}.list": @@ -43,6 +48,4 @@ class nodo::subsystem::apt { package { 'apt-transport-https': ensure => present, } - - class { '::apt::unattended_upgrades': } } |