Created
October 24, 2012 03:09
-
-
Save charlesjohnson/3943457 to your computer and use it in GitHub Desktop.
Ark library usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['elasticsearch']['version'] = "0.19.6" | |
default['elasticsearch']['checksum'] = 'f0ec550fb86c4bc8f08afb15de4e197e85f9fcfd352fbb7eb49aaff98f7731dd' | |
default['elasticsearch']['url'] = "http://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-#{node['elasticsearch']['version']}.tar.gz" | |
default['elasticsearch']['home_path'] = "/usr/lib" | |
default['elasticsearch']['home_dir'] = "#{node['elasticsearch']['home_path']}/elasticsearch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe "ark" | |
ark "elasticsearch" do | |
url node['elasticsearch']['url'] | |
version node['elasticsearch']['version'] | |
prefix_root node['elasticsearch']['home_path'] | |
home_dir node['elasticsearch']['home_dir'] | |
checksum node['elasticsearch']['checksum'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment