fix relations and finally get rid off config_file
This commit is contained in:
parent
d47addd2ed
commit
5d75c10a4d
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue