On 07/11/2014 01:08 AM, Cristian Falcas wrote:
> I this correct in your provider/karaf_feature/karaf_feature.rb file?
>
>       if resource = resources[prov.name <http://prov.name>]
>
> Should that be "=="?
>
> Best regards,
> Cristian Falcas

Nope. That's your regular old "set and test for nil" thingamajig.

You can link to specific code lines by the way - this one was
https://github.com/fatmcgav/fatmcgav-karaf/blob/feature/prefetch_flush_providers/lib/puppet/provider/karaf_feature/karaf_feature.rb#L59

Cheers,
Felix

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53BF28AC.5060504%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to