diff options
author | mh <mh@immerda.ch> | 2010-08-06 03:59:10 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-06 03:59:10 +0200 |
commit | 6bd681ab05072964efc95ecfe2816e371e45a862 (patch) | |
tree | c8d43c0de77d25d3868dbbbc81cc7434cf41b455 /manifests/puppetmaster/package | |
parent | d439d82c5ac07c46ae839ef5cd8abe0da70ef807 (diff) | |
parent | 79cc286c7249e39f633f422390b5ab79d72f89dd (diff) |
merge with lavamind/master
Diffstat (limited to 'manifests/puppetmaster/package')
-rw-r--r-- | manifests/puppetmaster/package/base.pp | 11 | ||||
-rw-r--r-- | manifests/puppetmaster/package/centos.pp | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/manifests/puppetmaster/package/base.pp b/manifests/puppetmaster/package/base.pp new file mode 100644 index 0000000..1eb9302 --- /dev/null +++ b/manifests/puppetmaster/package/base.pp @@ -0,0 +1,11 @@ +class puppet::puppetmaster::package::base inherits puppet::puppetmaster::package { + + package { 'puppetmaster': + ensure => present, + } + + Service['puppetmaster']{ + require +> Package['puppetmaster'], + } + +} diff --git a/manifests/puppetmaster/package/centos.pp b/manifests/puppetmaster/package/centos.pp new file mode 100644 index 0000000..f6470ec --- /dev/null +++ b/manifests/puppetmaster/package/centos.pp @@ -0,0 +1,8 @@ +class puppet::puppetmaster::package::centos inherits puppet::puppetmaster::package::base { + + Package['puppetmaster'] { + name => 'puppet-server', + alias => 'puppetmaster', + } + +} |