Add docs for pillar_raise_on_missing option

Fixes #35068
This commit is contained in:
rallytime 2016-08-16 14:57:58 -06:00
parent bfe7107a87
commit cface344d6
4 changed files with 36 additions and 0 deletions

View file

@ -670,6 +670,11 @@ CLI option, only sets this to a single file for all salt commands.
# Recursively merge lists by aggregating them instead of replacing them.
#pillar_merge_lists: False
# Set this option to 'True' to force a 'KeyError' to be raised whenever an
# attempt to retrieve a named value from pillar fails. When this option is set
# to 'False', the failed attempt returns an empty string. Default is 'False'.
#pillar_raise_on_missing: False
# Git External Pillar (git_pillar) Configuration Options
#
# Specify the provider to be used for git_pillar. Must be either pygit2 or

View file

@ -418,6 +418,11 @@
# as the environment setting, but for pillar instead of states.
#pillarenv: None
#
# Set this option to 'True' to force a 'KeyError' to be raised whenever an
# attempt to retrieve a named value from pillar fails. When this option is set
# to 'False', the failed attempt returns an empty string. Default is 'False'.
#pillar_raise_on_missing: False
#
# If using the local file directory, then the state top file name needs to be
# defined, by default this is top.sls.
#state_top: top.sls

View file

@ -2295,6 +2295,19 @@ ext_pillar.
ext_pillar_first: False
.. conf_master:: pillar_raise_on_missing
``pillar_raise_on_missing``
---------------------------
.. versionadded:: 2015.5.0
Default: ``False``
Set this option to ``True`` to force a ``KeyError`` to be raised whenever an
attempt to retrieve a named value from pillar fails. When this option is set
to ``False``, the failed attempt returns an empty string.
.. _git-pillar-config-opts:
Git External Pillar (git_pillar) Configuration Options

View file

@ -1271,6 +1271,19 @@ the environment setting, but for pillar instead of states.
pillarenv: None
.. conf_minion:: pillar_raise_on_missing
``pillar_raise_on_missing``
---------------------------
.. versionadded:: 2015.5.0
Default: ``False``
Set this option to ``True`` to force a ``KeyError`` to be raised whenever an
attempt to retrieve a named value from pillar fails. When this option is set
to ``False``, the failed attempt returns an empty string.
.. conf_minion:: file_recv_max_size
``file_recv_max_size``