diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 4968e9ff97f..f0aaf9e6633 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -11,4 +11,5 @@ puppet module install puppetlabs/apt --version 1.4.0 --force puppet module install example42/php --version 2.0.17 --force puppet module install puppetlabs/mysql --version 2.1.0 --force puppet module install willdurand/composer --version 0.0.6 --force -puppet module install maestrodev/wget --version 1.2.3 --force \ No newline at end of file +puppet module install maestrodev/wget --version 1.2.3 --force +puppet module install elasticsearch/elasticsearch --force \ No newline at end of file diff --git a/vagrant/manifests/default.pp b/vagrant/manifests/default.pp index 9549cb7eaf1..a6973db462d 100644 --- a/vagrant/manifests/default.pp +++ b/vagrant/manifests/default.pp @@ -44,7 +44,8 @@ 'vim', 'curl', 'git-core', - 'mc' + 'mc', + 'openjdk-7-jre-headless' ]: ensure => 'installed', } @@ -142,4 +143,13 @@ ensure => present, charset => 'utf8', require => Class['mysql::server'], -} \ No newline at end of file +} + +class { 'elasticsearch': + ensure => 'present', + package_url => 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.deb' +} -> +service { "elasticsearch-service": + name => 'elasticsearch', + ensure => running +}