Thanks for the reply, from what you said it might be better for me to go
about it in a different direction.
On Thu, Jun 2, 2011 at 1:07 AM, Dan Bode <dan@puppetlabs.com> wrote:
> you should be able to do something like:
>
> call_function(:defined, ''Foo[''bar'']'')
>
> just keep in mind that the defined function (or anything for resource
> detection) is parse order dependent which can lead to unexpected results.
>
>
> On Wed, Jun 1, 2011 at 9:04 PM, Matt <mjblack@gmail.com> wrote:
>
>> I''ve been searching and havent found an answer yet. Is there a
scope
>> or variable that I can parse to find out if a resource is defined? I
>> know there is the defined command in puppet manifests.
>>
>> --
>> 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
>> puppet-users+unsubscribe@googlegroups.com.
>> 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 puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> 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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.