summaryrefslogtreecommitdiff
path: root/manifests/client/params.pp
blob: 4473912c61146eeb683aaacbde0c2307613e2de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Set the parameters for the munin client
class munin::client::params {
  $user = 'root'

  case $::osfamily {
    'OpenBSD': {
      $group = '0'
      $log_file = '/var/log/munin-node/munin-node.log'
    }
    'Debian': {
      $group = 'root'
      $log_file = '/var/log/munin/munin-node.log'
    }
    default: {
      $group = 'root'
      $log_file = '/var/log/munin-node/munin-node.log'
    }
  }
}