summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-18 17:10:40 -0300
committermh <mh@immerda.ch>2012-06-18 17:10:40 -0300
commit5d75c10a4d45da76d2c33d2b3cad49dfb948ceec (patch)
tree8dd66d7cceed7d964f55b88146a8499eb8210afe
parentd47addd2ed9ae6e99423bff736352144cda32832 (diff)
fix relations and finally get rid off config_file
-rw-r--r--manifests/cron/download.pp2
-rw-r--r--manifests/update.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cron/download.pp b/manifests/cron/download.pp
index a189995..f4e9184 100644
--- a/manifests/cron/download.pp
+++ b/manifests/cron/download.pp
@@ -14,7 +14,7 @@ dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
owner => root, group => 0, mode => 0644;
}
- config_file { "/etc/cron-apt/config.d/MAILON":
+ file { "/etc/cron-apt/config.d/MAILON":
content => "MAILON=changes\n",
require => Package[cron-apt],
owner => root, group => 0, mode => 0644;
diff --git a/manifests/update.pp b/manifests/update.pp
index ae992f4..9c773ab 100644
--- a/manifests/update.pp
+++ b/manifests/update.pp
@@ -3,7 +3,7 @@ class apt::update {
exec { 'update_apt':
command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
require => [ File['/etc/apt/apt.conf.d', '/etc/apt/preferences' ],
- Config_file['/etc/apt/sources.list'] ],
+ File['/etc/apt/sources.list'] ],
loglevel => info,
# Another Semaphor for all packages to reference
alias => "apt_updated"