title: sh startup.sh start tomcat with puppet module
body: <p>I am trying to create a puppet module which installs tomcat. I got everything else working, the module downloads tomcat tar, extracts it, removes the package and changes the settings file from template. The only problem I have it won't start tomcat automatically. How do I set it to do "sudo sh startup.sh" ?</p>
  
  <p>I tried with command => "sudo sh startup.sh" , but I think the problem is that it cant use sudo. Is there a way to bypass that or other solution to get tomcat start?</p>