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:
parent
de6ad1d5d3
commit
b93c6df956
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue