diff --git a/salt/states/cmd.py b/salt/states/cmd.py index b804db9ec4..0f30f52f33 100644 --- a/salt/states/cmd.py +++ b/salt/states/cmd.py @@ -132,9 +132,8 @@ it can also watch a git state for changes - git: my-project -Should I use :mod:`cmd.run ` or :mod:`cmd.wait -`? -------------------------------------------------------------------------------- +Should I use :mod:`cmd.run ` or :mod:`cmd.wait `? +-------------------------------------------------------------------------------------------- These two states are often confused. The important thing to remember about them is that :mod:`cmd.run ` states are run each time the SLS @@ -159,7 +158,7 @@ executed when the state it is watching changes. Example: - file: /usr/local/bin/postinstall.sh How do I create an environment from a pillar map? -------------------------------------------------------------------------------- +------------------------------------------------- The map that comes from a pillar cannot be directly consumed by the env option. To use it one must convert it to a list. Example: