Changeset 30969

Show
Ignore:
Timestamp:
27.10.2016 23:09:24 (3 years ago)
Author:
davidb
Message:

Fine tuning resulting from testing the cloud/cluster

Location:
other-projects/hathitrust/vagrant-solr-cluster/trunk
Files:
4 added
4 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/vagrant-solr-cluster/trunk/manifests/base-zookeeper-solr.pp

    r30962 r30969  
    120120} 
    121121 
     122 file {  
     123  "/home/${user}/.bashrc": 
     124  source => "puppet:///modules/zookeeper/bashrc", 
     125  ensure => present, 
     126  mode => 644, 
     127  owner => $user, 
     128  group => $group, 
     129  require => File["/home/${user}"] 
     130 } 
     131 
     132 file {  
     133  "/home/${user}/.bash_profile": 
     134  source => "puppet:///modules/zookeeper/bash_profile", 
     135  ensure => present, 
     136  mode => 644, 
     137  owner => $user, 
     138  group => $group, 
     139  require => File["/home/${user}"] 
     140 } 
     141 
     142 
    122143host { 'solr1': 
    123144    ip => "${solr_1}", 
  • other-projects/hathitrust/vagrant-solr-cluster/trunk/modules/solr/manifests/init.pp

    r30960 r30969  
    4646 } 
    4747 
     48 file {  
     49  "/home/${user}/solr-init-collection.sh": 
     50  content => template('solr/solr-init-collection.sh'), 
     51  ensure => present, 
     52  mode => 755, 
     53  owner => $user, 
     54  group => $group, 
     55  require => File["/home/${user}"] 
     56 } 
     57 
     58 
    4859} 
    4960 
  • other-projects/hathitrust/vagrant-solr-cluster/trunk/modules/solr/templates/setup-solr.bash

    r30962 r30969  
    11 
    22export SOLR_HOME="<%= @solr_home %>/server/solr" 
    3 export PATH="$SOLR_HOME/bin:$PATH" 
     3export PATH="<%= @solr_home %>/bin:$PATH" 
    44 
    55alias solr-start-node.sh="solr start -c -z zookeeper:2181 -h `hostname`:8983" 
  • other-projects/hathitrust/vagrant-solr-cluster/trunk/modules/zookeeper/manifests/init.pp

    r30960 r30969  
    7575    require => [  Exec["unpack_zookeeper"], File["/home/${user}"] ]  
    7676 } 
     77 
     78 file {  
     79  "/home/${user}/solr-start-all.sh": 
     80  content => template('zookeeper/solr-start-all.sh'), 
     81  ensure => present, 
     82  mode => 755, 
     83  owner => $user, 
     84  group => $group, 
     85  require => File["/home/${user}"] 
     86 } 
     87 
    7788} 
    7889