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