multiple inherits layers

ADNET Ghislain
Wed, 08 Aug 2007 13:25:47 -0000

Hello,


 i am using for my management some class dependency like this:


unix => linux => debian => etch
(linux inherits unix, debian inherits linux, etch inherits debian...)

also linuxvservers inherits debian  and linuxvservers::host inherits
linuxvservers

then my node is

node myhost  {
    include debian
    include linuxvservers::host

}


i have an issue as i have a file definition in the [linux] classe and i
override it in the [linuxvservers::host] classe but puppet tells me that
the ''content'' parameter is allready defined. seems it does not
allow
overriding files accross multiple inherits  ?


err: Could not retrieve configuration: Parameter ''content'' is
already
set on File[/etc/sysctl.conf] by linuxvservers::host at
/etc/puppet/manifests/classes/newvserver.pp:7; cannot redefine at
/etc/puppet/manifests/os/linux.pp:8


am i doing something wrong or is it normal for the parser''s point of
view ? (version .22.4)


--
Cordialement,
Ghislain



_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com