mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #12783 from whiteinge/moar-rst-fixes
Moar misc rST fixes
This commit is contained in:
commit
beb02a0594
@ -98,4 +98,5 @@ will use the api to change the root password of the server so that it can be
|
||||
bootstrapped.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
change_password: True
|
||||
|
@ -416,6 +416,7 @@ def slaveof(master_host=None, master_port=None, host=None, port=None, db=None,
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
# Become slave of redis-n01.example.com:6379
|
||||
salt '*' redis.slaveof redis-n01.example.com 6379
|
||||
salt '*' redis.slaveof redis-n01.example.com
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Read pillar data from a Redis backend
|
||||
==========================
|
||||
=====================================
|
||||
|
||||
:depends: - redis Python module (on master)
|
||||
|
||||
|
@ -33,13 +33,13 @@ def present(name, value, vtype='REG_DWORD', reflection=True):
|
||||
|
||||
In the example below, this will prevent Windows from silently creating
|
||||
the key in:
|
||||
``HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Salt\version``
|
||||
``HKEY_CURRENT_USER\\SOFTWARE\\Wow6432Node\\Salt\\version``
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
HKEY_CURRENT_USER\SOFTWARE\Salt\version:
|
||||
HKEY_CURRENT_USER\\SOFTWARE\\Salt\\version:
|
||||
reg.present:
|
||||
- value: 0.15.3
|
||||
- vtype: REG_SZ
|
||||
|
Loading…
Reference in New Issue
Block a user