diff options
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', + } + +} |