aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-14 15:59:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-14 15:59:26 -0300
commitcc27104120e4c271ff8456dd4071aaacaf0e87c8 (patch)
tree0d5bb9ec0ed358c8d816a7a0a6207926fbb4fea9
parentb432165cd092e15bbe920618be9214cf2586a3f8 (diff)
downloadpuppet-nodo-cc27104120e4c271ff8456dd4071aaacaf0e87c8.tar.gz
puppet-nodo-cc27104120e4c271ff8456dd4071aaacaf0e87c8.tar.bz2
Testing class relationships again for apt
-rw-r--r--manifests/subsystem/apt.pp7
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': }
}