https://bugzilla.wikimedia.org/show_bug.cgi?id=67445

--- Comment #2 from Dan Duvall <[email protected]> ---
It's likely symptomatic of inconsistent initialization of the $DIR global
between older versions of Vagrant and 1.6—related to the inconsistent loading
of the plugin, as Bryan mentioned.

When using a pre-1.6 version, the plugin was loaded by the Vagrantfile after it
had initialized $DIR to the parent directory. In 1.6, the plugin is loaded
first and initializes $DIR to the current working directory. The latter
scenario leads to a failure to find the vagrant-managed.pp manifest that stores
enabled-role state.

I think refactoring the roles implementation to derive the directory from the
Vagrant::Environment is the way to go here. While I'm at it, I'll see about
removing the other globals to avoid these types of race conditions in the
future.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to