Not sure if it does, I'm going with the assumption it would not.

Though there is a Dir.exists that you could use.

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Sans
Sent: Tuesday, June 14, 2011 1:54 PM
To: Puppet Users
Subject: [Puppet Users] Re: how to do conditional check?

On Jun 14, 6:12 pm, "Matthew Black" <[email protected]> wrote:
> I haven’t used torque or yaim but what you want to do in a fact is
something
> like this to determine installation.
>
> if File.exists?('/path/to/config')
>
Does it work for directory as well?

 -San

-- 
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
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.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
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