Ignore:
Timestamp:
2016-11-07T22:34:31+13:00 (6 years ago)
Author:
davidb
Message:

Move up to JDK1.8. Tidy up of Vagrant machine names. Support for YARN. Some XML whitespace indenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/vagrant-spark-hdfs-cluster/manifests/base-hadoop.pp

    r30917 r31077  
    77
    88$hadoop_master = '10.10.0.52'
    9 $hadoop_backup = '10.10.0.51'
     9$hadoop_resman = '10.10.0.50'
     10$hadoop_backupmaster = '10.10.0.51'
    1011$hadoop_1 = '10.10.0.53'
    1112$hadoop_2 = '10.10.0.54'
     
    4041   
    4142
     43 exec { 'add-apt-repository':
     44    command => '/usr/bin/add-apt-repository ppa:webupd8team/java -y && \
     45                echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
     46                echo debconf shared/accepted-oracle-license-v1-1 seen true | /usr/bin/debconf-set-selections'
     47 }
    4248
    43 exec { 'apt-get update':
     49               
     50 exec { 'apt-get update':
    4451    command => '/usr/bin/apt-get update',
    45 }
     52    require => [ Exec['add-apt-repository'], File["/home/${user}"] ]
     53 }
    4654
    47 package { "openjdk-7-jdk" :
     55 package { "oracle-java8-installer" :
    4856   ensure => present,
    4957  require => [ Exec['apt-get update'], File["/home/${user}"] ]
    50 }
     58 }
     59
    5160
    5261#package { "subversion" :
     
    106115}
    107116
     117host { 'master':
     118    ip => "${hadoop_master}",
     119}
     120
     121host { 'resman':
     122    ip => "${hadoop_resman}",
     123}
     124
     125host { 'backupmaster':
     126    ip => "${hadoop_backupmaster}",
     127}
     128
    108129host { 'hadoop1':
    109130    ip => "${hadoop_1}",
     
    118139}
    119140
    120 host { 'master':
    121     ip => "${hadoop_master}",
    122 }
    123 
    124 host { 'backup':
    125     ip => "${hadoop_backup}",
    126 }
Note: See TracChangeset for help on using the changeset viewer.