aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-14 16:03:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-14 16:03:35 -0300
commitc2da47fcc981b83c401039f0f87b742c80b0655d (patch)
treecc9dc4c9a2918f5bd18fc7af01d4c25929fd9d8d
parentcc27104120e4c271ff8456dd4071aaacaf0e87c8 (diff)
downloadpuppet-nodo-c2da47fcc981b83c401039f0f87b742c80b0655d.tar.gz
puppet-nodo-c2da47fcc981b83c401039f0f87b742c80b0655d.tar.bz2
Declaring '::apt::unattended_upgrades' at nodo::base
-rw-r--r--manifests/base.pp2
-rw-r--r--manifests/subsystem/apt.pp5
2 files changed, 2 insertions, 5 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 12d7171..835dfd0 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -25,6 +25,8 @@ class nodo::base {
include concat::setup
include cron
+ class { '::apt::unattended_upgrades': }
+
# Include admin accounts if you have this class
if defined('users:admin') {
include users::admin
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp
index a5221f7..dd49413 100644
--- a/manifests/subsystem/apt.pp
+++ b/manifests/subsystem/apt.pp
@@ -1,7 +1,4 @@
class nodo::subsystem::apt {
- # Class relationships
- Class['::apt'] -> Class['::apt::unattended_upgrades']
-
#
# Apt configuration
#
@@ -11,8 +8,6 @@ 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":