summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
blob: 1ef1d2b76ce65a1f9d2eab40c245230f2e172cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class ekeyd::munin {
  munin::plugin::deploy{'ekeyd_stat_':
    source => "ekeyd/munin/ekeyd_stat_" ,
    ensure => "absent",
  }
  munin::plugin{
    [ 'ekeyd_stat_total_EntropyRate',
      'ekeyd_stat_total_TotalEntropy',
      'ekeyd_stat_total_KeyVoltage',
      'ekeyd_stat_total_FipsFrameRate',
      'ekeyd_stat_KeyTemperatureC' ]:
      require => Munin::Plugin::Deploy['ekeyd_stat_'],
      ensure => 'ekeyd_stat_',
      config => "user root\nenv.controlsocket /var/run/ekeyd.sock",
  }
}