Re: [Puppet Users] Re: Module critique

2012-09-07 Thread jcbollinger
On Thursday, September 6, 2012 12:08:56 PM UTC-5, Bai Shen wrote: file { '/opt/apache-tomcat/conf/Catalina': ensure = directory, } file { '/opt/apache-tomcat/conf/**Catalina/localhost': ensure = directory, } Supposing

Re: [Puppet Users] Re: Module critique

2012-09-07 Thread Tim Mooney
In regard to: Re: [Puppet Users] Re: Module critique, Bai Shen said (at...: I strongly recommend that you build a native package for SOLR, put it in a local repository, and ensure it installed via a Puppet Package resource. Recursive directory management will bite you, especially

Re: [Puppet Users] Re: Module critique

2012-09-06 Thread Bai Shen
Thanks for the comments. My responses are below. class solr { Since Package['apache-tomcat'] is apparently declared in a different class, your should 'include' that class here. Will do. I hadn't thought about that. service { 'iptables' : ensure = stopped,

Re: [Puppet Users] Re: Module critique

2012-09-06 Thread Garrett Honeycutt
On 9/6/12 7:08 PM, Bai Shen wrote: SOLR is a search engine. It requires a data directory to store it's index files. Since they can grow quite big, I was putting them on / and making it the largest partition. What would be the reasoning behind putting it in each of the locations you

[Puppet Users] Re: Module critique

2012-09-05 Thread jcbollinger
On Tuesday, September 4, 2012 10:26:14 AM UTC-5, Bai Shen wrote: I've gotten an install of solr working, but it's pretty much a hack job at the moment. If y'all could give me your thoughts on how to improve my setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that