plugins/provisioners/salt/config.rb in vagrant-unbundled-2.2.2.0 vs plugins/provisioners/salt/config.rb in vagrant-unbundled-2.2.3.0
- old
+ new
@@ -175,9 +175,16 @@
if @python_version && !(@python_version.is_a?(Integer) || @python_version.is_a?(String))
errors << I18n.t("vagrant.provisioners.salt.python_version")
end
+ # install_type is not supported in a Windows environment
+ if machine.config.vm.communicator != :winrm
+ if @version && !@install_type
+ errors << I18n.t("vagrant.provisioners.salt.version_type_missing")
+ end
+ end
+
return {"salt provisioner" => errors}
end
end
end
end