mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
Update README.rst formatting
This commit is contained in:
parent
40f2fa3c6e
commit
2e2f68b91d
1 changed files with 34 additions and 29 deletions
57
README.rst
57
README.rst
|
@ -8,11 +8,38 @@ process is handled by this shell script ``bootstrap-salt-minion.sh``. This
|
|||
script runs through a series of checks to determine operating system type and
|
||||
version to then install the `Salt`_ binaries using the appropriate methods.
|
||||
|
||||
|
||||
One Line Bootstrap
|
||||
------------------
|
||||
|
||||
If you're looking for the *one-liner* to install salt...
|
||||
|
||||
For example, using ``curl`` to install latest git:
|
||||
|
||||
.. code:: console
|
||||
|
||||
curl -L http://bootstrap.saltstack.org | sudo sh -s git develop
|
||||
|
||||
|
||||
Or, using ``wget`` to install your distribution's stable packages:
|
||||
|
||||
.. code:: console
|
||||
|
||||
wget -O - http://bootstrap.saltstack.org | sudo sh
|
||||
|
||||
If you have certificate issues using ``wget`` try the following:
|
||||
|
||||
.. code:: console
|
||||
|
||||
wget --no-check-certificate -O - http://bootstrap.saltstack.org | sudo sh
|
||||
|
||||
|
||||
|
||||
Adding support for other operating systems
|
||||
------------------------------------------
|
||||
In order to install salt for a distribution you need to define:
|
||||
|
||||
* To Install Dependencies, which is required, one of:
|
||||
1. To Install Dependencies, which is required, one of:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
|
@ -22,7 +49,7 @@ In order to install salt for a distribution you need to define:
|
|||
install_<distro>_deps
|
||||
|
||||
|
||||
* To install salt, which, of course, is required, one of:
|
||||
2. To install salt, which, of course, is required, one of:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
|
@ -30,7 +57,7 @@ In order to install salt for a distribution you need to define:
|
|||
install_<distro>_<install_type>
|
||||
|
||||
|
||||
* Optionally, define a minion configuration function, which will be called if
|
||||
3. Optionally, define a minion configuration function, which will be called if
|
||||
the ``-c|config-dir`` option is passed. One of:
|
||||
|
||||
.. code:: bash
|
||||
|
@ -42,7 +69,7 @@ In order to install salt for a distribution you need to define:
|
|||
config_minion [THIS ONE IS ALREADY DEFINED AS THE DEFAULT]
|
||||
|
||||
|
||||
* Also optionally, define a post install function, one of:
|
||||
4. Also optionally, define a post install function, one of:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
|
@ -92,28 +119,6 @@ Supported Operating Systems
|
|||
- FreeBSD 9.0
|
||||
|
||||
|
||||
One Line Bootstrap
|
||||
------------------
|
||||
|
||||
Salt can be installed using a single line command.
|
||||
For example, using ``curl`` to install latest git:
|
||||
|
||||
.. code:: console
|
||||
|
||||
curl -L http://bootstrap.saltstack.org | sudo sh -s git develop
|
||||
|
||||
|
||||
Or, using ``wget`` to install current distro's stable version:
|
||||
|
||||
.. code:: console
|
||||
|
||||
wget -O - http://bootstrap.saltstack.org | sudo sh
|
||||
|
||||
If you have certificate issues using ``wget`` try the following:
|
||||
|
||||
.. code:: console
|
||||
|
||||
wget --no-check-certificate -O - http://bootstrap.saltstack.org | sudo sh
|
||||
|
||||
|
||||
.. _`Salt`: http://saltstack.org/
|
||||
|
|
Loading…
Add table
Reference in a new issue