summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/package.pp
blob: aef3121e7f07750929fd2f9ca497019355026e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# manifests/puppetmaster/package.pp

class puppet::puppetmaster::package {
  case $operatingsystem {
    centos: {
      if $puppetmaster_ensure_version {
        warn('$puppetmaster_ensure_version is not supported for this operatingsystem')
      }
    include puppet::puppetmaster::package::centos }
    debian: { include puppet::puppetmaster::package::debian }
    default: {
      if $puppetmaster_ensure_version {
        warn('$puppetmaster_ensure_version is not supported for this operatingsystem')
      }
      include puppet::puppetmaster::package::base }
  }
}