The various `install` args should always be passed to salt-bootstrap.

Even when preforming config only, the install flags (i.e. -M, -S, -N),
are used by the bootstrap to determine which configs to copy.

This should help with #3542 and should supersede #3548.
This commit is contained in:
Timothy Messier 2014-04-27 12:29:13 -04:00
parent de6ad1d5d3
commit b93c6df956
1 changed files with 15 additions and 16 deletions

View File

@ -106,26 +106,25 @@ module VagrantPlugins
if configure && !install
options = "%s -C" % options
else
if @config.install_master
options = "%s -M" % options
end
if @config.install_syndic
options = "%s -S" % options
end
if @config.install_master
options = "%s -M" % options
end
if @config.no_minion
options = "%s -N" % options
end
if @config.install_syndic
options = "%s -S" % options
end
if @config.install_type
options = "%s %s" % [options, @config.install_type]
end
if @config.no_minion
options = "%s -N" % options
end
if @config.install_args
options = "%s %s" % [options, @config.install_args]
end
if @config.install_type
options = "%s %s" % [options, @config.install_type]
end
if @config.install_args
options = "%s %s" % [options, @config.install_args]
end
if @config.verbose