]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
fix relations and finally get rid off config_file
authormh <mh@immerda.ch>
Mon, 18 Jun 2012 20:10:40 +0000 (17:10 -0300)
committermh <mh@immerda.ch>
Mon, 18 Jun 2012 20:10:40 +0000 (17:10 -0300)
manifests/cron/download.pp
manifests/update.pp

index a1899951246f4bb58e1bd9166fb9dff7f1195cd9..f4e91845c9081c3a3db85bf89f5c72913f67377b 100644 (file)
@@ -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;
index ae992f4009f9915b22047df394d9a8e63ab9bcf2..9c773abc6f92999dc2b76250eee9d2634553f89a 100644 (file)
@@ -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"