application war hot deployment through Puppet
On our Tomcat Infrastructure, customers wanted to leverage hot deployment option. Wherein if a file is present in a configured directory, Tomcat will auto deploy the war file and start the application. We can either write a script+cron job or write a Puppet class to do this deployment task. Plus I know Puppet Agent wakes up every 30 mins to send new configuration to Master. My thought is we can leverage Puppet Agent with runinterval=0 so that it runs continously and send the file presence status in the configured directory to the Puppet Master and when master sees the change in compiled catalog, it triggers to run the Tomcat deployment Module.
My question is : Does anyone sees any issues with regards to keeping Puppet Agent awake continously ( runinterval=0)? I mean any load or any other issue with regards to this. Has anyone seen any issues with above mentioned ?