Re: [Puppet Users] iteration question

2010-12-08 Thread Felix Frank
On 12/03/2010 09:48 PM, Don Jackson wrote: > > So here is a scenario: > > I have a directory: > > ./foo > ./foo/file1 > ./foo/file2 > ./foo/file3 > … > ./foo/fileN > > I populate this directory on a configured machine via a recursive file > resource. > > Wh

Re: [Puppet Users] iteration question

2010-12-03 Thread Dan Bode
On Fri, Dec 3, 2010 at 12:48 PM, Don Jackson < puppet-us...@clark-communications.com> wrote: > > So here is a scenario: > > I have a directory: > >./foo >./foo/file1 >./foo/file2 >./foo/file3 >… >./foo/fileN > > I populate this directory on a configu

Re: [Puppet Users] iteration question

2010-12-03 Thread Patrick Mohr
Puppet won't bother other files in a directory it manages unless you turn on "purge => true". On Fri, Dec 3, 2010 at 2:15 PM, Don Jackson < puppet-us...@clark-communications.com> wrote: > > On Dec 3, 2010, at 12:56 PM, Patrick wrote: > > Why not sync the files directly to that directory? > > > Th

Re: [Puppet Users] iteration question

2010-12-03 Thread Hunter Haugen
The catalog that is shipped to the client is immediately applied without reevaluating the state of the client (that evaluation is done during catalog compilation on the master with the provided facts). I think what you're looking for is for puppet to download a catalog, revise the resources that s

Re: [Puppet Users] iteration question

2010-12-03 Thread Don Jackson
On Dec 3, 2010, at 12:56 PM, Patrick wrote: > Why not sync the files directly to that directory? There are other files in the parent directory that are not managed by puppet. And the names of the files are dynamic enough that it would be painful to explicity manage each file in the puppet mani

Re: [Puppet Users] iteration question

2010-12-03 Thread Patrick
Why not sync the files directly to that directory? On Dec 3, 2010, at 12:48 PM, Don Jackson wrote: > > So here is a scenario: > > I have a directory: > > ./foo > ./foo/file1 > ./foo/file2 > ./foo/file3 > … > ./foo/fileN > > I populate this directory on a co

[Puppet Users] iteration question

2010-12-03 Thread Don Jackson
So here is a scenario: I have a directory: ./foo ./foo/file1 ./foo/file2 ./foo/file3 … ./foo/fileN I populate this directory on a configured machine via a recursive file resource. What I would like to do is create a symlink from the parent direct