maintainer: | <akilesh1597@gmail.com> |
---|---|
maturity: | new |
depends: | re |
platform: | all |
use section as DEFAULT_IMPLICIT if your ini file does not have any section for example /etc/sysctl.conf
/home/saltminion/api-paste.ini:
ini_manage:
- options_absent
- sections:
test:
- testkey
- secondoption
test1:
- testkey1
options present in file and not specified in sections dict will be untouched
changes dict will contain the list of changes made
/home/saltminion/api-paste.ini:
ini_manage:
- options_present
- sections:
test:
testkey: 'testval'
secondoption: 'secondvalue'
test1:
testkey1: 'testval121'
options present in file and not specified in sections dict will be untouched
changes dict will contain the list of changes made
/home/saltminion/api-paste.ini:
ini_manage:
- sections_absent
- sections:
- test
- test1
options present in file and not specified in sections will be deleted changes dict will contain the sections that changed
/home/saltminion/api-paste.ini:
ini_manage:
- sections_present
- sections:
test:
testkey: testval
secondoption: secondvalue
test1:
testkey1: 'testval121'
options present in file and not specified in sections will be deleted changes dict will contain the sections that changed
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.27.43. salt.states.influxdb_user
Upcoming SaltStack events, webinars and local meet ups and user groups.