fix module.run docs

This commit is contained in:
Daniel Wallace 2018-01-10 14:49:13 -07:00
parent 541e59fa75
commit 230e899192
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48

View File

@ -24,7 +24,7 @@ for this the :mod:`module.wait <salt.states.module.wait>` state can be used:
fetch_out_of_band:
module.run:
git.fetch:
- git.fetch:
- cwd: /path/to/my/repo
- user: myuser
- opts: '--all'
@ -35,7 +35,7 @@ Another example:
mine.send:
module.run:
network.ip_addrs:
- network.ip_addrs:
- interface: eth0
And more complex example:
@ -44,7 +44,7 @@ And more complex example:
eventsviewer:
module.run:
task.create_task:
- task.create_task:
- name: events-viewer
- user_name: System
- action_type: Execute
@ -158,7 +158,7 @@ functions at once the following way:
call_something:
module.run:
git.fetch:
- git.fetch:
- cwd: /path/to/my/repo
- user: myuser
- opts: '--all'