Correct Salt Cloud documentation about updating Salt Bootstrap script

This commit is contained in:
Denys Havrysh 2016-02-27 22:43:07 +02:00
parent 95db870325
commit f7beeb69f2
2 changed files with 18 additions and 4 deletions

View file

@ -112,7 +112,7 @@ then the necessary port to log in, then a successful login that can be used to
install Salt. Minion configuration and keys will then be uploaded to a temporary
directory on the target by the appropriate function. On a Windows target, the
Windows Minion Installer will be run in silent mode. On a Linux/Unix target, a
deploy script (bootstrap-salt.sh, by default) will be run, which will
deploy script (``bootstrap-salt.sh``, by default) will be run, which will
auto-detect the operating system, and install Salt using its native package
manager. These do not need to be handled by the developer in the cloud module.

View file

@ -135,7 +135,7 @@ executes it.
Updating Salt Bootstrap
=======================
Salt Bootstrap can be updated automatically with salt-cloud:
Salt Bootstrap can be updated automatically with ``salt-cloud``:
.. code-block:: bash
@ -143,8 +143,22 @@ Salt Bootstrap can be updated automatically with salt-cloud:
salt-cloud --update-bootstrap
Bear in mind that this updates to the latest (unstable) version, so use with
caution.
Bear in mind that this updates to the latest **stable** version from:
https://bootstrap.saltstack.com/stable/bootstrap-salt.sh
To update Salt Bootstrap script to the **develop** version, run the following
command on the Salt minion host with ``salt-cloud`` installed:
.. code-block:: bash
salt-call config.gather_bootstrap_script 'https://bootstrap.saltstack.com/develop/bootstrap-salt.sh'
Or just download the file manually:
.. code-block:: bash
curl -L 'https://bootstrap.saltstack.com/develop' > /etc/salt/cloud.deploy.d/bootstrap-salt.sh
Keeping /tmp/ Files