summaryrefslogtreecommitdiffstats
path: root/modules/tick/manifests/client.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-07-06 00:23:22 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-06 00:23:22 -0400
commit976970e0a3d5309960341316250e32fa2cd0b85c (patch)
treedf64940d3f75ef62e69e26ff9d52e4b7fc40d2c7 /modules/tick/manifests/client.pp
parentb77ebcf45b1d288592395ac46e5e3f1cf429c312 (diff)
downloadpuppet-tozt-976970e0a3d5309960341316250e32fa2cd0b85c.tar.gz
puppet-tozt-976970e0a3d5309960341316250e32fa2cd0b85c.zip
fully manage more directories
Diffstat (limited to 'modules/tick/manifests/client.pp')
-rw-r--r--modules/tick/manifests/client.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/tick/manifests/client.pp b/modules/tick/manifests/client.pp
index 1cdf155..8dadda4 100644
--- a/modules/tick/manifests/client.pp
+++ b/modules/tick/manifests/client.pp
@@ -13,9 +13,13 @@ class tick::client {
notify => Service['telegraf'];
"/etc/telegraf/telegraf.d":
ensure => directory,
+ recurse => true,
+ purge => true,
require => Package::Makepkg['telegraf-bin'];
"/etc/telegraf/plugins":
ensure => directory,
+ recurse => true,
+ purge => true,
require => Package::Makepkg['telegraf-bin'];
}