On Tuesday, July 7, 2015 at 8:54:54 AM UTC-5, Christopher Wood wrote:
>
> In your place I would probably use a fact to get the names, see inline. 
> Fair warning that I haven't tested any of this. It may even damage your 
> server as written! 
>

I read the OP as saying that the list of files was dictated by the catalog 
compiler, not the client.  It makes little difference if those happen to be 
the same machine (i.e. with 'puppet apply'), but in a master / agent setup 
the difference is profound.  Facts are evaluated on the client, so if 
indeed the file list is governed by a Puppet master then facts cannot do 
the job in any reasonable way.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/49883b7d-a49c-418c-9ad0-42ef239474ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to