summaryrefslogtreecommitdiff
path: root/manifests/dot_d_directories.pp
blob: 6d9f79060fb4d60231f93ab01fae67247509f980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# watch .d directories and ensure they are present

class apt::dot_d_directories {

  file {
    '/etc/apt/apt.conf.d':
      ensure   => directory,
      checksum => mtime,
      notify   => Exec['update_apt'];

    '/etc/apt/sources.list.d':
      ensure   => directory,
      checksum => mtime,
      notify   => Exec['update_apt'];
  }
}