summaryrefslogtreecommitdiff
path: root/manifests/dot_d_directories.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
committerintrigeri <intrigeri@boum.org>2017-02-12 12:51:12 +0000
commit4dce28de2f702a2ec9f8855d96b49f930966ea1e (patch)
tree18f3439205b380a711d66ab643d0689142d81a73 /manifests/dot_d_directories.pp
parentf41eebf3cae6549b6c56874fc7fda5432f95d9a2 (diff)
parent904be827acc3cc377123544eaf401f26eb984495 (diff)
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-master
Diffstat (limited to 'manifests/dot_d_directories.pp')
-rw-r--r--manifests/dot_d_directories.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/dot_d_directories.pp b/manifests/dot_d_directories.pp
index 0ace863..6d9f790 100644
--- a/manifests/dot_d_directories.pp
+++ b/manifests/dot_d_directories.pp
@@ -1,15 +1,16 @@
+# watch .d directories and ensure they are present
+
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'];
+ notify => Exec['update_apt'];
+
'/etc/apt/sources.list.d':
ensure => directory,
checksum => mtime,
- notify => Exec['apt_updated'];
+ notify => Exec['update_apt'];
}
-
}