Merge pull request #35212 from ngould/requisite-docs

Improve clarity of requisite docs
This commit is contained in:
Thomas S Hatch 2016-08-04 13:57:15 -06:00 committed by GitHub
commit e792a4215d

View File

@ -173,11 +173,11 @@ dependency logic defined above.
require
~~~~~~~
The use of ``require`` demands that the dependent state executes before the
depending state. The state containing the ``require`` requisite is defined as the
depending state. The state specified in the ``require`` statement is defined as the
dependent state. If the dependent state's execution succeeds, the depending state
will then execute. If the dependent state's execution fails, the depending state
The use of ``require`` demands that the required state executes before the
dependent state. The state containing the ``require`` requisite is defined as the
dependent state. The state specified in the ``require`` statement is defined as the
required state. If the required state's execution succeeds, the dependent state
will then execute. If the required state's execution fails, the dependent state
will not execute. In the first example above, the file ``/etc/vimrc`` will only
execute after the vim package is installed successfully.