mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Merge branch 'develop' into stable for v2015.03.15 release
This commit is contained in:
commit
902da73446
5 changed files with 13 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
/.project
|
/.project
|
||||||
*.swp
|
*.swp
|
||||||
|
.vagrant
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
Version 2015.03.15:
|
||||||
|
* Add multi-master support. Thanks Fred Reimer(freimer). #555
|
||||||
|
|
||||||
Version 2015.03.04:
|
Version 2015.03.04:
|
||||||
* Fix the salt package selection on Arch stable installs.
|
* Fix the salt package selection on Arch stable installs.
|
||||||
|
|
||||||
|
|
|
@ -385,8 +385,6 @@ Ubuntu box. First, install Vagrant, then::
|
||||||
|
|
||||||
$ vagrant up
|
$ vagrant up
|
||||||
$ vagrant ssh
|
$ vagrant ssh
|
||||||
<vm> $ cd /salt_bootstrap
|
|
||||||
<vm> $ sudo sh salt-bootstrap.sh
|
|
||||||
|
|
||||||
|
|
||||||
.. _Vagrant: http://www.vagrantup.com
|
.. _Vagrant: http://www.vagrantup.com
|
||||||
|
|
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -10,7 +10,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# please see the online documentation at vagrantup.com.
|
# please see the online documentation at vagrantup.com.
|
||||||
|
|
||||||
# Every Vagrant virtual environment requires a box to build off of.
|
# Every Vagrant virtual environment requires a box to build off of.
|
||||||
config.vm.box = "precise64"
|
config.vm.box = "ubuntu/precise64"
|
||||||
|
|
||||||
# The url from where the 'config.vm.box' box will be fetched if it
|
# The url from where the 'config.vm.box' box will be fetched if it
|
||||||
# doesn't already exist on the user's system.
|
# doesn't already exist on the user's system.
|
||||||
|
@ -40,6 +40,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# argument is a set of non-required options.
|
# argument is a set of non-required options.
|
||||||
config.vm.synced_folder ".", "/salt_bootstrap"
|
config.vm.synced_folder ".", "/salt_bootstrap"
|
||||||
|
|
||||||
|
config.vm.provision "shell", path: "bootstrap-salt.sh"
|
||||||
# Provider-specific configuration so you can fine-tune various
|
# Provider-specific configuration so you can fine-tune various
|
||||||
# backing providers for Vagrant. These expose provider-specific options.
|
# backing providers for Vagrant. These expose provider-specific options.
|
||||||
# Example for VirtualBox:
|
# Example for VirtualBox:
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# CREATED: 10/15/2012 09:49:37 PM WEST
|
# CREATED: 10/15/2012 09:49:37 PM WEST
|
||||||
#======================================================================================================================
|
#======================================================================================================================
|
||||||
set -o nounset # Treat unset variables as an error
|
set -o nounset # Treat unset variables as an error
|
||||||
__ScriptVersion="2015.03.04"
|
__ScriptVersion="2015.03.15"
|
||||||
__ScriptName="bootstrap-salt.sh"
|
__ScriptName="bootstrap-salt.sh"
|
||||||
|
|
||||||
#======================================================================================================================
|
#======================================================================================================================
|
||||||
|
@ -4510,6 +4510,12 @@ config_salt() {
|
||||||
chmod 664 "$_PKI_DIR/minion/minion.pub" || return 1
|
chmod 664 "$_PKI_DIR/minion/minion.pub" || return 1
|
||||||
CONFIGURED_ANYTHING=$BS_TRUE
|
CONFIGURED_ANYTHING=$BS_TRUE
|
||||||
fi
|
fi
|
||||||
|
# For multi-master-pki, copy the master_sign public key if found
|
||||||
|
if [ -f "$_TEMP_CONFIG_DIR/master_sign.pub" ]; then
|
||||||
|
movefile "$_TEMP_CONFIG_DIR/master_sign.pub" "$_PKI_DIR/minion/" || return 1
|
||||||
|
chmod 664 "$_PKI_DIR/minion/master_sign.pub" || return 1
|
||||||
|
CONFIGURED_ANYTHING=$BS_TRUE
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue