Ask Your Question
0

How to edit XML file by the puppet module "terc-xmlfile"?

asked 2015-05-20 15:17:20 -0600

Tony gravatar image

updated 2015-05-20 18:59:22 -0600

How to edit XML file by the puppet module "terc-xmlfile"?

How can the following XML changes by puppet? Any simple example here? i.e. change name from "Belgian Waffles" to "sandwich"

<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<calories>650</calories>
</food>
</breakfast_menu>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-20 17:29:30 -0600

JohnsonEarls gravatar image

Try using Augeas, as described here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-05-20 15:17:20 -0600

Seen: 410 times

Last updated: May 20 '15