State managment of XML files
salt.states.xml.
value_present
(name, xpath, value, **kwargs)¶New in version 3000.
Manages a given XML file
The location of the XML file to manage, as an absolute path.
xpath location to manage
value to ensure present
ensure_value_true:
xml.value_present:
- name: /tmp/test.xml
- xpath: .//playwright[@id='1']
- value: William Shakespeare
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy