Skip to content

Commit

Permalink
Merge pull request saltstack#10056 from kadel/doc-state-cmd-small-fixes
Browse files Browse the repository at this point in the history
docs: indentation fix and missing id declaration
  • Loading branch information
techhat committed Jan 30, 2014
2 parents 82ef052 + 49f206b commit 8a53c92
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions salt/states/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
.. code-block:: yaml
printenv:
cmd.run:
cmd.run:
- env:
{% for key, value in pillar['keys'].iteritems() %}
- '{{ key }}': '{{ value }}'
Expand Down Expand Up @@ -499,13 +499,14 @@ def run(name,
.. code-block:: yaml
cmd.run:
- name: /usr/bin/python /usr/local/sbin/get-pip.py
- unless: which pip
- require:
- pkg: python
- file: /usr/local/sbin/get-pip.py
- reload_modules: True
getpip:
cmd.run:
- name: /usr/bin/python /usr/local/sbin/get-pip.py
- unless: which pip
- require:
- pkg: python
- file: /usr/local/sbin/get-pip.py
- reload_modules: True
'''
### NOTE: The keyword arguments in **kwargs are ignored in this state, but
Expand Down

0 comments on commit 8a53c92

Please sign in to comment.