diff options
author | mh <mh@immerda.ch> | 2008-04-11 12:51:39 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-04-11 12:51:39 +0000 |
commit | 048fb4249992301916ec1dc6bd23c4791ecf4d56 (patch) | |
tree | 997558a3b7ced1f4821ab9d6f5f02bc5985fe046 | |
parent | 5a1de07bc6d5b01325150e2e5c118a14d0c92575 (diff) |
fixed inheritance
-rw-r--r-- | manifests/init.pp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 88fb214..82d4c25 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -76,19 +76,6 @@ class puppetmaster inherits puppet { case $operatingsystem { linux: { include puppetmaster::linux } } -} - -class puppetmaster::linux inherits puppet::linux { - service{'puppetmaster': - ensure => running, - require => Package[puppet], - } - - - Service[puppet]{ - require +> Service[puppetmaster], - } - File[puppet_config]{ source => [ "puppet://$server/files/puppet/master/puppet.conf", "puppet://$server/puppet/master/puppet.conf" ], @@ -110,6 +97,19 @@ class puppetmaster::linux inherits puppet::linux { } } +class puppetmaster::linux inherits puppet::linux { + service{'puppetmaster': + ensure => running, + require => Package[puppet], + } + + + Service[puppet]{ + require +> Service[puppetmaster], + } + +} + class puppetmaster::cluster inherits puppetmaster { include mongrel, nginx |