lib/berkshelf/vagrant/env_helpers.rb in vagrant-berkshelf-1.3.7 vs lib/berkshelf/vagrant/env_helpers.rb in vagrant-berkshelf-1.4.0.dev1
- old
+ new
@@ -46,10 +46,10 @@
#
# @param [Vagrant::Environment] env
#
# @return [Boolean]
def berkshelf_enabled?(env)
- env[:global_config].berkshelf.enabled
+ env[:machine].config.berkshelf.enabled
end
# Determine if --no-provision was specified
#
# @param [Vagrant::Environment] env