summaryrefslogtreecommitdiffstats
path: root/modules/tick/manifests/client/plugin/smart.pp
blob: 21c12546004b20b95ebbdffd7202f2ee9e51f7a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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'];
  }
}