diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetmaster.pp | 2 | ||||
-rw-r--r-- | manifests/puppetmaster/debian.pp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index 37d59b5..1b1094c 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -1,7 +1,7 @@ # manifests/puppetmaster.pp class puppet::puppetmaster inherits puppet { case $operatingsystem { - debian: { include puppet::puppetmaster::package } + debian: { include puppet::puppetmaster::debian } centos: { include puppet::puppetmaster::centos } default: { case $kernel { diff --git a/manifests/puppetmaster/debian.pp b/manifests/puppetmaster/debian.pp new file mode 100644 index 0000000..20ac997 --- /dev/null +++ b/manifests/puppetmaster/debian.pp @@ -0,0 +1,11 @@ +# manifests/puppetmaster/debian.pp + +class puppet::puppetmaster::debian inherits puppet::puppetmaster::package { + + Package['puppet-server'] { + name => 'puppetmaster', + alias => 'puppet-server', + } + +} + |