On Saturday, March 28, 2015 at 9:37:35 AM UTC-5, Nan Liu wrote:
>
> On Friday, March 27, 2015 at 5:49:54 PM UTC-7, Shawn Sterling wrote:
>
 
>
> I will avoid any module that uses ensure_resources from this point on.
>>
>
> Isn't that rather drastic, considering it's an issue with one module, and 
> a problem with class containment implementation of that module?
>


It's only drastic if fixing third-party modules so that they don't use 
ensure_resources() any more is a viable alternative for you.  The 
ensure_resources() function simply does not reasonably serve the module 
compatibility goals that are its *raison d'**ĂȘtre*.  An ordinary resource 
declaration is better for that purpose, notwithstanding the fact that it 
may conflict with another declaration.  Furthermore, use of 
ensure_resources() creates a thorny resource containment problem, whether 
that's what's actually in play in Shawn's case or not.


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/edbc5a84-6d51-4126-b322-3e471dc12ee6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to