Puppet Exec Command on XML update

28 views
Skip to first unread message

Pushparaj BS

unread,
Jan 6, 2015, 12:47:09 AM1/6/15
to puppet...@googlegroups.com
Hi,

I have an XML file that has configuration for IIS Virtual settings for many webservice Applications, and each application is a node in the XML.

Based on the XML, I have a Powershell script that can read the respective node and configure the IIS.

However, I need to have puppet monitor this node in the XML and trigger the script if changed as the XML can be updated for some IIS changes for a webservice.

I can see that exec command gives functionality to watch file changes, but I need to watch a node specifically.

Rob Reynolds

unread,
Jan 9, 2015, 2:01:39 PM1/9/15
to puppet...@googlegroups.com
I don't think you will achieve this with Puppet alone. It seems that Puppet can kick off another tool when the file changes to do the more specific thing you need to do.
 

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f6572b8d-1086-4b54-9d42-837c1513feae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Rob Reynolds
Developer, Puppet Labs

Join us at PuppetConf 2015, October 5-9 in Portland, OR - http://2015.puppetconf.com/
Register early to save 40%!
Reply all
Reply to author
Forward
0 new messages