lib/vagrant-openstack-provider/action/provision.rb in vagrant-openstack-provider-0.7.0 vs lib/vagrant-openstack-provider/action/provision.rb in vagrant-openstack-provider-0.7.1
- old
+ new
@@ -29,10 +29,10 @@
@logger = Log4r::Logger.new('vagrant_openstack::action::internal_provision_wrapper')
super app, env
end
def run_provisioner(env)
- if env[:provisioner].class == VagrantPlugins::Shell::Provisioner
+ if env[:provisioner].is_a?(Vagrant.plugin('2').manager.provisioners[:shell])
handle_shell_meta_args(env)
end
env[:provisioner].provision
end