Hello!

So, you want to distribute all the package contents using puppet? Can't
you use yum+RPM or any other packaging system to distribute your
binaries, and use puppet to trigger the installation?

> Given the dynamic nature of the packages (new files are added/removed
> constantly)

That's unusual. How comes?      

> with error ArgumentError: Duplicate definition: File[/] is already
> defined in file install_foo.pp at line 8; cannot redefine at

Each resource that is managed by puppet needs to be unique to prevent
two manifests from fighting about the same resource. I'm not sure there
is a workaround for your situation. 

Best Regards,
  Claus


On Tue, 2010-03-09 at 11:41 -0800, Mathew Binkley wrote:
> Hi everyone.  I am trying to manage several different packages using
> Puppet.  For the sake of maintainability, each package is installed in
> its own separate puppet directory.  Each package would have a separate
> install_package.pp script and corresponding folder in /etc/puppet/
> files on the server:
> 
>     /etc/puppet/files/foo/
>                          etc/
>                          root/
>                          usr/local
> 
>    /etc/puppet/files/bar/
>                          etc/
>                          var/lib
> 
> To avoid micromanaging, I would like to simply copy over the contents
> of each folder to / on the client.  
[...]


-- 
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.

Reply via email to