f12b007edd
Before, there were two Execs that did an `apt-get update`, `Exec[refresh_apt]` and `Exec[apt_updated]`, which were triggered by different resources. This changes gets rid of the first one, and all resources now depend on `Exec[apt_updated]`.
9 lines
224 B
Puppet
9 lines
224 B
Puppet
class apt::dist_upgrade {
|
|
|
|
exec { 'apt_dist-upgrade':
|
|
command => '/usr/bin/apt-get -q -y -o \'DPkg::Options::=--force-confold\' dist-upgrade',
|
|
refreshonly => true,
|
|
before => Exec['apt_updated']
|
|
}
|
|
|
|
}
|