Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

using Augeas to modify named parameter in xml

$
0
0
I've not used Augeas previously, I've gotten it to modify a parameter based on position, but there exists the possibility of the source file changing. For this example snippet: falsefalsefalseTESTtrue I have a need to replace the #text contained in the tag for "application.environmentInfo", but this file has 50+ xProperties and I can't guarantee that it's always #4 in this example. How can I target the "application.environmentInfo" tag specifically?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>