-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -305,6 +305,11 @@ def call_overstate | |
end | ||
|
||
def call_highstate | ||
if @config.minion_config | ||
@machine.env.ui.info "Copying salt minion config to #{@config.config dir}" | ||
@machine.communicate.upload(expanded_path(@config.minion_config).to_s, @config.config_dir + "/minion") | ||
This comment has been minimized.
Sorry, something went wrong.
kevich
|
||
end | ||
|
||
if @config.run_highstate | ||
@machine.env.ui.info "Calling state.highstate... (this may take a while)" | ||
if @config.install_master | ||
|
This causes failure in FreeBSD. SaltStack configuration files are stored in
/usr/local/etc/salt/
, just as all other configuration packages not included in the base OS. The only OS-specific check is for Windows. Theelse
condition needs to be preceded by anelse if
or a series ofelse if
s with conditions for each operating system that Vagrant claims support for before failing over to the default of/etc/salt/
.