mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Porting PR #50904 to 2019.2.1
This commit is contained in:
parent
8d4d5eaeb2
commit
4bd31d59cc
4 changed files with 12 additions and 20 deletions
|
@ -22,15 +22,13 @@ configuring and managing multiple ``salt-proxy`` processes.
|
|||
- p8000
|
||||
|
||||
This says that Salt's pillar should load some values for the proxy ``p8000``
|
||||
from the file /srv/pillar/p8000.sls (if you have not changed your default pillar_roots)
|
||||
from the file ``/srv/pillar/p8000.sls`` (if you have not changed your default pillar_roots)
|
||||
|
||||
2. In the pillar root for your base environment, create this file:
|
||||
2. In the pillar root for your base environment, create the ``p8000.sls`` file with the
|
||||
following contents:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
p8000.sls
|
||||
---------
|
||||
|
||||
proxy:
|
||||
# set proxytype for your proxymodule
|
||||
proxytype: ssh_sample
|
||||
|
|
|
@ -58,16 +58,14 @@ Now, configure your salt-proxy.
|
|||
|
||||
|
||||
This says that Salt's pillar should load some values for the proxy ``p8000``
|
||||
from the file /srv/pillar/p8000.sls (if you have not changed your default pillar_roots)
|
||||
from the file ``/srv/pillar/p8000.sls`` (if you have not changed your default pillar_roots)
|
||||
|
||||
3. In the pillar root for your base environment, create this file:
|
||||
3. In the pillar root for your base environment, create the ``p8000.sls`` file with the
|
||||
following contents:
|
||||
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
p8000.sls
|
||||
---------
|
||||
|
||||
proxy:
|
||||
proxytype: rest_sample
|
||||
url: http://<IP your REST listens on>:port
|
||||
|
|
|
@ -35,16 +35,14 @@ Now, configure your salt-proxy.
|
|||
|
||||
|
||||
This says that Salt's pillar should load some values for the proxy ``p8000``
|
||||
from the file /srv/pillar/p8000.sls (if you have not changed your default pillar_roots)
|
||||
from the file ``/srv/pillar/p8000.sls`` (if you have not changed your default pillar_roots)
|
||||
|
||||
3. In the pillar root for your base environment, create this file:
|
||||
3. In the pillar root for your base environment, create the ``p8000.sls`` file with the
|
||||
following contents:
|
||||
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
p8000.sls
|
||||
---------
|
||||
|
||||
proxy:
|
||||
proxytype: ssh_sample
|
||||
host: saltyVM
|
||||
|
|
|
@ -23,15 +23,13 @@ on the remote end.
|
|||
- p8000
|
||||
|
||||
This says that Salt's pillar should load some values for the proxy ``p8000``
|
||||
from the file /srv/pillar/p8000.sls (if you have not changed your default pillar_roots)
|
||||
from the file ``/srv/pillar/p8000.sls`` (if you have not changed your default pillar_roots)
|
||||
|
||||
2. In the pillar root for your base environment, create this file:
|
||||
2. In the pillar root for your base environment, create the ``p8000.sls`` file with the
|
||||
following contents:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
p8000.sls
|
||||
---------
|
||||
|
||||
proxy:
|
||||
# set proxytype for your proxymodule
|
||||
proxytype: ssh_sample
|
||||
|
|
Loading…
Add table
Reference in a new issue