Skip to content

Instantly share code, notes, and snippets.

/init.sls Secret

Created January 23, 2017 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/cce032737ec0c7a7b827c352d886448f to your computer and use it in GitHub Desktop.
Save anonymous/cce032737ec0c7a7b827c352d886448f to your computer and use it in GitHub Desktop.
salt ini
/etc/yum.conf:
ini.options_present:
- sections:
main:
assumeyes: '0'
Error is:
----------
ID: /etc/yum.conf
Function: ini.options_present
Result: None
Comment: ini file /etc/yum.conf shall be validated for presence of given options under their respective sections
Started: 12:47:52.493408
Duration: 0.587 ms
Changes:
Warnings: 'main' is an invalid keyword argument for 'ini.options_present'.
If you were trying to pass additional data to be used in a
template context, please populate 'context' with 'key: value'
pairs. Your approach will work until Salt Carbon is out. Please
update your state files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment