Am 08.12.2008 um 19:23 schrieb Jeff:

> Is there a condition test to see if a file exists on the
> puppetmaster?
>
> [...]
>
> I'm open to other ideas. The thought is I'd have one mechanism for
> loading license files and I'd manage them inside directories named
> after the $fqdn For this to work, I need that "exists" function.


I think you'll want to try a custom function 
http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions 
  as they get executed server-side. Just cook up some ruby code to  
check for your file existence, and you're almost done.

Felix Schäfer


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to