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]`.
15 lines
345 B
Puppet
15 lines
345 B
Puppet
class apt::dot_d_directories {
|
|
|
|
# watch .d directories and ensure they are present
|
|
file {
|
|
'/etc/apt/apt.conf.d':
|
|
ensure => directory,
|
|
checksum => mtime,
|
|
notify => Exec['apt_updated'];
|
|
'/etc/apt/sources.list.d':
|
|
ensure => directory,
|
|
checksum => mtime,
|
|
notify => Exec['apt_updated'];
|
|
}
|
|
|
|
}
|