Issue #1675 has been updated by Markus Roberts.

Assigned to changed from Luke Kanies to Markus Roberts
Target version set to Puppet - Rowlf


----------------------------------------
Bug #1675: Puppet's autoloader conflicts with Ruby's file loader
http://projects.reductivelabs.com/issues/1675

Author: Luke Kanies
Status: Accepted
Priority: High
Assigned to: Markus Roberts
Category: plumbing
Target version: Rowlf
Affected version: 0.24.4
Keywords: 
Branch: 


If you use Ruby to directly load a file that would normally be loaded by 
Puppet's autoloader, you can get some weird behaviour.  This is especially 
pronounced when loading providers and types; a common situation is that a type 
is loaded by Ruby using 'require', which loads all of the providers, then the 
type is reloaded by Puppet.  However, because the list of providers is 
maintained in an instance variable of the type, when it's reloaded the new type 
has no list of providers.

Really, this is two bugs -- one is the conflict between the two loaders, and 
the other is that when a type is reloaded it loses its provider list.  I'll 
file the second bug, too.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.


Reply via email to