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;
|
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",
|
content => "MAILON=changes\n",
|
||||||
require => Package[cron-apt],
|
require => Package[cron-apt],
|
||||||
owner => root, group => 0, mode => 0644;
|
owner => root, group => 0, mode => 0644;
|
||||||
|
|
|
@ -3,7 +3,7 @@ class apt::update {
|
||||||
exec { 'update_apt':
|
exec { 'update_apt':
|
||||||
command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
|
command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
|
||||||
require => [ File['/etc/apt/apt.conf.d', '/etc/apt/preferences' ],
|
require => [ File['/etc/apt/apt.conf.d', '/etc/apt/preferences' ],
|
||||||
Config_file['/etc/apt/sources.list'] ],
|
File['/etc/apt/sources.list'] ],
|
||||||
loglevel => info,
|
loglevel => info,
|
||||||
# Another Semaphor for all packages to reference
|
# Another Semaphor for all packages to reference
|
||||||
alias => "apt_updated"
|
alias => "apt_updated"
|
||||||
|
|
Loading…
Reference in a new issue