summaryrefslogtreecommitdiff
path: root/manifests/dot_d_directories.pp
blob: 0ace86302cd0be680a2996119189e4485a2c0c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'];
  }

}