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 references the oracle jdk instead of openjdk.
Thanks. class solr { service { 'iptables' : ensure => stopped, } file { '/opt/apache-tomcat/conf/Catalina': ensure => directory, } file { '/opt/apache-tomcat/conf/Catalina/localhost': ensure => directory, } file { '/opt/apache-tomcat/conf/Catalina/localhost/solr.xml': source => 'puppet:///modules/solr/solr.xml', owner => 'tomcat', group => 'tomcat', mode => '644', notify => Service['apache-tomcat'], require => Package['apache-tomcat'], } file { '/opt/apache-tomcat/conf/server.xml': source => 'puppet:///modules/solr/server.xml', owner => 'tomcat', group => 'tomcat', mode => '644', notify => Service['apache-tomcat'], require => Package['apache-tomcat'], } file { '/opt/solr': ensure => directory, recurse => true, purge => true, source => 'puppet:///modules/solr/solr', owner => 'tomcat', group => 'tomcat', mode => '644', notify => Service['apache-tomcat'], require => Package['apache-tomcat'], } file { '/opt/solr/solr.war': ensure => 'link', target => '/opt/solr/apache-solr-3.6.1.war', } file { '/solr': ensure => directory, owner => 'tomcat', group => 'tomcat' } } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.