Skip to content

Instantly share code, notes, and snippets.

@rjw1
Created September 18, 2014 12:30
Show Gist options
  • Save rjw1/98fd5f675425714f7883 to your computer and use it in GitHub Desktop.
Save rjw1/98fd5f675425714f7883 to your computer and use it in GitHub Desktop.
exec { 'install_elasticsearch':
command => "/usr/bin/dpkg -i /tmp/elasticsearch-1.3.0.deb;/usr/bin/touch /opt/track/elasticsearch",
require => [File['/tmp/elasticsearch-1.3.0.deb'], Package['openjdk-7-jdk']],
creates => '/opt/track/elasticsearch'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment