summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster.pp
blob: 1b1094c88428593e7cf3e2feda861710e7462d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# manifests/puppetmaster.pp
class puppet::puppetmaster inherits puppet {
    case $operatingsystem {
        debian: { include puppet::puppetmaster::debian }
        centos: { include puppet::puppetmaster::centos }
        default: {
            case $kernel {
                linux: { include puppet::puppetmaster::linux }
            }
        }
    }
    include puppet::puppetmaster::base

    include puppet::puppetmaster::checklastrun

  if $use_shorewall {
    include shorewall::rules::puppet::master
  }
}