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