aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/apt.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/apt.pp')
-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': }
}