Add missing blank line after code-block directive

Edits performed with this (imperfect) command:

find salt -name '*.py' -print0 \
    | xargs -0 -n1 -P10 gawk -i inplace '
    cb { if (match($0, /^$/) == 0) print ""; cb=0 }
    { print $0 }
    /^\s*.. code-block::/ { cb=1 }
    '
This commit is contained in:
Seth House 2015-04-15 18:29:08 -06:00
parent aaf1917bdf
commit f15e3ce7fa
7 changed files with 9 additions and 0 deletions

View File

@ -138,6 +138,7 @@ class SSHClient(object):
WARNING: Eauth is **NOT** respected
.. code-block:: python
client.cmd_sync({
'tgt': 'silver',
'fun': 'test.ping',

View File

@ -627,6 +627,7 @@ def list_permissions(username=None, resource=None, resource_type='keyspace', per
:rtype: dict
.. code-block:: bash
salt 'minion1' cassandra.list_permissions
salt 'minion1' cassandra.list_permissions username=joe resource=test_keyspace permission=select
@ -682,6 +683,7 @@ def grant_permission(username, resource=None, resource_type='keyspace', permissi
:rtype:
.. code-block:: bash
salt 'minion1' cassandra.grant_permission
salt 'minion1' cassandra.grant_permission username=joe resource=test_keyspace permission=select

View File

@ -6,6 +6,7 @@ Manage Kerberos KDC
that can authenticate without requireing a password.
.. code-block:: bash
# ktadd -k /root/secure.keytab kadmin/admin kadmin/changepw
On the KDC minion you will need to add the following to the minion
@ -13,6 +14,7 @@ configuration file so Salt knows what keytab to use and what principal to
authenticate as.
.. code-block:: yaml
auth_keytab: /root/auth.keytab
auth_principal: kadmin/admin
'''

View File

@ -66,6 +66,7 @@ def ipcidr(tgt):
Pillar Example:
.. code-block:: yaml
'172.16.0.0/12':
- match: ipcidr
- nodeclass: internal

View File

@ -84,6 +84,7 @@ There is also the option of specifying a dynamic inventory, and generating it on
This is the format that an inventory script needs to output to work with ansible, and thus here.
.. code-block:: bash
[~]# salt-ssh --roster-file /etc/salt/hosts salt.gtmanfred.com test.ping
salt.gtmanfred.com:
True

View File

@ -80,6 +80,7 @@ passed in as a dict, or as a string to pull from pillars or minion config:
- key: 'fdkjsafkljsASSADFalkfjasdf'
.. code-block:: yaml
delete server certificate:
boto_iam.server_cert_absent:
- name: mycert

View File

@ -5,6 +5,7 @@ Linux File Access Control Lists
Ensure a Linux ACL is present
.. code-block:: yaml
root:
acl.present:
- name: /root