State management of XML files
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
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.xml.html