[Puppet Users] Re: Exported/Collect resource not working?

Brice Figureau
2008-08-01T18:13:02Z

On Wed, July 30, 2008 17:39, Brice Figureau wrote:
> [snipped the first issue]
> OK, back to corp1, and re-running puppet (with the hope the corp2-part
> will be collected) I get the following error:
> err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed
> with error ArgumentError: Duplicate definition:
> File[/var/lib/puppet/modules/test/test.d/corp2-part] is already defined;
> cannot redefine
> at /etc/puppet/modules/common/manifests/defines/concatenated_file.pp:99
> on node corp1.daysofwonder.com

This part of the issue was coming from the fact that I had a module which
was collecting File without using any tag (and that''s bad). Then I was
collecting twice each exported file (or Concatenated_file_part which
embeds a File).

--
Brice Figureau