Add fun and state to the runtime internal keywords listing

Fixes #21120
Refs #21133
Refs https://github.com/saltstack/salt/issues/18806#issuecomment-76532356
This commit is contained in:
Pedro Algarvio 2015-02-28 19:42:16 +00:00
parent 5573b18624
commit 30322e2d84

View File

@ -64,6 +64,8 @@ STATE_REQUISITE_IN_KEYWORDS = frozenset([
'listen_in', 'listen_in',
]) ])
STATE_RUNTIME_KEYWORDS = frozenset([ STATE_RUNTIME_KEYWORDS = frozenset([
'fun',
'state',
'check_cmd', 'check_cmd',
'fail_hard', 'fail_hard',
'onlyif', 'onlyif',