solr: Automatically determine java memory limits

This commit is contained in:
Ossi Salmi 2013-08-30 17:34:21 +03:00
parent 298aee2225
commit e6be930f22
2 changed files with 18 additions and 7 deletions

View file

@ -118,12 +118,12 @@ class solr {
}
file { "/etc/init.d/solr":
ensure => present,
mode => "0755",
owner => "root",
group => "root",
source => "puppet:///modules/solr/solr.init",
notify => Exec["add-service-solr"],
ensure => present,
mode => "0755",
owner => "root",
group => "root",
content => template("solr/solr.init.erb"),
notify => Exec["add-service-solr"],
}
exec { "add-service-solr":
path => "/bin:/usr/bin:/sbin:/usr/sbin",