solr: Syntax fixes

This commit is contained in:
Ossi Salmi 2013-05-31 13:31:26 +03:00
parent 53c2a0167f
commit a6b82b4be1

View file

@ -69,7 +69,7 @@ class solr {
require => File["/srv/solr"], require => File["/srv/solr"],
} }
file { "/srv/solr/cores/solr.xml" file { "/srv/solr/cores/solr.xml":
ensure => present, ensure => present,
mode => "0660", mode => "0660",
owner => "solr", owner => "solr",
@ -80,27 +80,27 @@ class solr {
file { "/srv/solr/run/start.jar": file { "/srv/solr/run/start.jar":
ensure => link, ensure => link,
target => "/usr/local/share/solr/example/start.jar" target => "/usr/local/share/solr/example/start.jar",
require => File["/srv/solr/run"], require => File["/srv/solr/run"],
} }
file { "/srv/solr/run/contexts": file { "/srv/solr/run/contexts":
ensure => link, ensure => link,
target => "/usr/local/share/solr/example/contexts" target => "/usr/local/share/solr/example/contexts",
require => File["/srv/solr/run"], require => File["/srv/solr/run"],
} }
file { "/srv/solr/run/etc": file { "/srv/solr/run/etc":
ensure => link, ensure => link,
target => "/usr/local/share/solr/example/etc" target => "/usr/local/share/solr/example/etc",
require => File["/srv/solr/run"], require => File["/srv/solr/run"],
} }
file { "/srv/solr/run/lib": file { "/srv/solr/run/lib":
ensure => link, ensure => link,
target => "/usr/local/share/solr/example/lib" target => "/usr/local/share/solr/example/lib",
require => File["/srv/solr/run"], require => File["/srv/solr/run"],
} }
file { "/srv/solr/run/webapps": file { "/srv/solr/run/webapps":
ensure => link, ensure => link,
target => "/usr/local/share/solr/example/webapps" target => "/usr/local/share/solr/example/webapps",
require => File["/srv/solr/run"], require => File["/srv/solr/run"],
} }