summaryrefslogtreecommitdiff
path: root/manifests/defaults/vars.pp
blob: 87f41f8b2e46c0383ff67e8896028be24295f4cc (plain)
1
2
3
4
5
6
7
8
9
10
class nagios::defaults::vars {
  case $nagios::cfgdir {
    '': { $int_cfgdir = $::operatingsystem ? {
            centos => '/etc/nagios/',
            default => '/etc/nagios3'
          }
    }
    default: { $int_cfgdir = $nagios::cfgdir }
  }
}