diff options
Diffstat (limited to 'modules/tick')
-rw-r--r-- | modules/tick/manifests/client/plugin/smart.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/tick/manifests/client/plugin/smart.pp b/modules/tick/manifests/client/plugin/smart.pp new file mode 100644 index 0000000..21c1254 --- /dev/null +++ b/modules/tick/manifests/client/plugin/smart.pp @@ -0,0 +1,13 @@ +class tick::client::plugin::smart { + tick::client::plugin { "smart": + opts => { + use_sudo => true, + attributes => true, + } + } + + file { "/etc/sudoers.d/telegraf-smart": + source => 'puppet:///modules/tick/plugins/smart.sudoers', + require => Package['sudo']; + } +} |