Re: multiple inherits layers

Luke Kanies
Wed, 08 Aug 2007 15:43:18 -0000

On Aug 8, 2007, at 8:25 AM, ADNET Ghislain wrote:
>
>
> 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

 From the class structure you provided, the linuxvservers::host class
is not a subclass of the linux class, which is why you''re having that
conflict.

  --
  Finn''s Law:
      Uncertainty is the final test of innovation.
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com