Commit a7e58f4c7d215340a7a0db1945507cebef961203
1 parent
b90a4643
Exists in
master
and in
39 other branches
Adding supervisor config for solr
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
puppet/modules/colab/manifests/init.pp
@@ -56,6 +56,12 @@ class colab { | @@ -56,6 +56,12 @@ class colab { | ||
56 | user => 'colab', | 56 | user => 'colab', |
57 | } | 57 | } |
58 | 58 | ||
59 | + supervisor::app { 'solr': | ||
60 | + command => 'java -jar start.jar', | ||
61 | + directory => '/home/colab/apache-solr-3.6.2/example', | ||
62 | + user => 'colab', | ||
63 | + } | ||
64 | + | ||
59 | nginx::config { 'nginx': | 65 | nginx::config { 'nginx': |
60 | content => template('colab/nginx/extra_conf.erb'), | 66 | content => template('colab/nginx/extra_conf.erb'), |
61 | } | 67 | } |