summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-11-03 00:09:25 +0100
committervarac <varacanero@zeromail.org>2016-11-04 10:16:29 +0100
commit6baa09d71eac070cbe2bd71afb27064bef7c809d (patch)
treed034b76a6bb12bba1d7fbcb5eaa07d6326626bde
parent83c7034b8925d73a2c8157e2841ccf66c0ae23a7 (diff)
Scope defines of apt_conf
-rw-r--r--manifests/init.pp6
-rw-r--r--manifests/proxy_client.pp2
-rw-r--r--manifests/unattended_upgrades.pp2
3 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4bf126c..3d93d22 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -40,14 +40,14 @@ class apt(
mode => '0644';
}
- apt_conf { '02show_upgraded':
+ ::apt::apt_conf { '02show_upgraded':
source => [ "puppet:///modules/site_apt/${::fqdn}/02show_upgraded",
'puppet:///modules/site_apt/02show_upgraded',
'puppet:///modules/apt/02show_upgraded' ]
}
if ( $::virtual == 'vserver' ) {
- apt_conf { '03clean_vserver':
+ ::apt::apt_conf { '03clean_vserver':
source => [ "puppet:///modules/site_apt/${::fqdn}/03clean_vserver",
'puppet:///modules/site_apt/03clean_vserver',
'puppet:///modules/apt/03clean_vserver' ],
@@ -55,7 +55,7 @@ class apt(
}
}
else {
- apt_conf { '03clean':
+ ::apt::apt_conf { '03clean':
source => [ "puppet:///modules/site_apt/${::fqdn}/03clean",
'puppet:///modules/site_apt/03clean',
'puppet:///modules/apt/03clean' ]
diff --git a/manifests/proxy_client.pp b/manifests/proxy_client.pp
index 9ba79f2..e7972f7 100644
--- a/manifests/proxy_client.pp
+++ b/manifests/proxy_client.pp
@@ -3,7 +3,7 @@ class apt::proxy_client(
$port = '3142',
){
- apt_conf { '20proxy':
+ ::apt::apt_conf { '20proxy':
content => template('apt/20proxy.erb'),
}
}
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp
index 52d7542..d604125 100644
--- a/manifests/unattended_upgrades.pp
+++ b/manifests/unattended_upgrades.pp
@@ -26,7 +26,7 @@ class apt::unattended_upgrades (
default => $config_content
}
- apt_conf { '50unattended-upgrades':
+ ::apt::apt_conf { '50unattended-upgrades':
content => $file_content,
require => Package['unattended-upgrades'],
refresh_apt => false