Can one include muliple parts of a (class) - inheritance chain? And if yes, how does this chain get traversed? Are there any limitations / sideffects / documentation?
The idea behind is: I'd like to provide a base set of disabled services. Each of this service can be enabled through inheriting from the base class and overriding the ensure / enable attributes. suppose the following: node foobar { include base include syslog include ueber_syslog } #disables syslog - just as an example ;) class base { service {"svc:/system/system-log:default": ensure => stopped, enable => false } } #enables syslog class syslog inherits base { Service["svc:/system/system-log:default"]{ ensure => running, enable => true } } #disables syslog and enables uebersyslog class ueber_syslog inherits syslog { Service["svc:/system/system-log:default"]{ ensure => stopped, enable => false } service {"svc:/system/uebersyslog:default": ensure => running, enable => true } } Thanks for your input. Cheers Robert -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.