Merge pull request #10194 from briancain/specify-salt-version

Allow non-windows hosts to pass along version
This commit is contained in:
Brian Cain 2018-09-10 10:28:16 -07:00 committed by GitHub
commit c31fd2cd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -304,6 +304,9 @@ module VagrantPlugins
end
bootstrap_destination = File.join(config_dir, "bootstrap_salt.ps1")
else
if @config.version
options += " %s" % @config.version
end
bootstrap_destination = File.join(config_dir, "bootstrap_salt.sh")
end

View File

@ -75,7 +75,7 @@ distribution's stable package manager, git tree-ish, daily ppa, or testing repos
* `bootstrap_options` (string) - Additional command-line options to
pass to the bootstrap script.
* `version` (string, default: "2017.7.1") - Version of minion to be installed. Only supported on Windows guest machines.
* `version` (string, default: "2017.7.1") - Version of minion to be installed.
* `python_version` (string, default: "2") - Major Python version of minion to be installed. Only valid for minion versions >= 2017.7.0. Only supported on Windows guest machines.