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;
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"