diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-11 14:15:23 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-11 14:19:34 -0500 |
commit | 849f6f9bc2c6e9cf63d63dc3ee46dc5ec1811362 (patch) | |
tree | 639c871975735ad087a60463fc9abc5e2a671143 /manifests | |
parent | a9562bcde47c9eef8ee1fb1fc8516fb62498684f (diff) |
improve puppetmaster support on debian
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', + } + +} + |