summaryrefslogtreecommitdiffstats
path: root/modules/tick/manifests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-07-11 02:27:24 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-11 02:45:15 -0400
commitd79af16f91204018bfdfd4b859a2156d9c21b87f (patch)
tree30922027d9e371464a15783da0f37a47d7b6345f /modules/tick/manifests
parentb1075daf36e8bd4cd7c04d8a0367f97a76fa66e0 (diff)
downloadpuppet-tozt-d79af16f91204018bfdfd4b859a2156d9c21b87f.tar.gz
puppet-tozt-d79af16f91204018bfdfd4b859a2156d9c21b87f.zip
make the cron wrapper use godwrap
Diffstat (limited to 'modules/tick/manifests')
-rw-r--r--modules/tick/manifests/client/base_plugins.pp1
-rw-r--r--modules/tick/manifests/client/plugin/godwrap.pp7
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/tick/manifests/client/base_plugins.pp b/modules/tick/manifests/client/base_plugins.pp
index ff3df42..4a9c4df 100644
--- a/modules/tick/manifests/client/base_plugins.pp
+++ b/modules/tick/manifests/client/base_plugins.pp
@@ -33,6 +33,7 @@ class tick::client::base_plugins {
class {
[
"tick::client::plugin::duplicati",
+ "tick::client::plugin::godwrap",
"tick::client::plugin::pacman",
]:
}
diff --git a/modules/tick/manifests/client/plugin/godwrap.pp b/modules/tick/manifests/client/plugin/godwrap.pp
new file mode 100644
index 0000000..508e817
--- /dev/null
+++ b/modules/tick/manifests/client/plugin/godwrap.pp
@@ -0,0 +1,7 @@
+class tick::client::plugin::godwrap {
+ file { "/etc/telegraf/telegraf.d/godwrap.conf":
+ source => 'puppet:///modules/tick/plugins/godwrap.conf',
+ require => File["/etc/telegraf/telegraf.d"],
+ notify => Service["telegraf"];
+ }
+}