salt-bootstrap.sh: options are only allowed before install arguments
This commit is contained in:
parent
cfb258a55b
commit
7cd7077467
|
@ -79,11 +79,6 @@ module VagrantPlugins
|
||||||
def bootstrap_options(install, configure, config_dir)
|
def bootstrap_options(install, configure, config_dir)
|
||||||
options = ""
|
options = ""
|
||||||
|
|
||||||
## Any extra options passed to bootstrap
|
|
||||||
if @config.bootstrap_options
|
|
||||||
options = "%s %s" % [options, @config.bootstrap_options]
|
|
||||||
end
|
|
||||||
|
|
||||||
if configure
|
if configure
|
||||||
options = "%s -c %s" % [options, config_dir]
|
options = "%s -c %s" % [options, config_dir]
|
||||||
end
|
end
|
||||||
|
@ -126,6 +121,11 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
## Any extra options passed to bootstrap
|
||||||
|
if @config.bootstrap_options
|
||||||
|
options = "%s %s" % [options, @config.bootstrap_options]
|
||||||
|
end
|
||||||
|
|
||||||
if @config.verbose
|
if @config.verbose
|
||||||
@machine.env.ui.info "Using Bootstrap Options: %s" % options
|
@machine.env.ui.info "Using Bootstrap Options: %s" % options
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue