contents_grains should have an example #23683
Labels
Bug
broken, incorrect, or confusing behavior
Documentation
Relates to Salt documentation
fixed-pls-verify
fix is linked, bug author to confirm fix
P4
Priority 4
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
http://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed needs more data for contents_grains. While it's acceptable to say it behaves the same as contents_pillars, there's no reason to do that. We should copy paste the line from contents_grains (as well as the example), and make it relevant to grains. In addition we can add
(similar to contents_pillar)
at the end of the explanation prior to the example.The text was updated successfully, but these errors were encountered: