[Puppet Users] Re: Conditional host file entries, Puppet''s non-sequential tree

Duncan Hill
Thu, 20 Aug 2009 11:17:15 -0000

On Aug 19, 4:03 pm, Duncan Hill <bajand...@googlemail.com>
wrote:
> Hello folks,
>
> node application-server inherits generic-server {
>  all common stuff other than hosts
>  possibly the if logic to set the IPs}
>
> node specific-1 inherits application-server {
>  host {}}
>
> node specific-2 inherits application-server {
>  host {}
>
> }
>
> Are there any better solutions to this?  I''m making the assumption
> (that I''m about to test) that inheritance is top-down.

Turns out this doesn''t work either.  Bummer.