Created
July 4, 2013 18:38
-
-
Save stevepereira/5929555 to your computer and use it in GitHub Desktop.
ElasticSearch role 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
name "elasticsearch" | |
description "Install and configure elasticsearch" | |
run_list( | |
"role[network]", | |
"role[yum]", | |
"recipe[java]", | |
"recipe[elasticsearch]" | |
) | |
default_attributes({ | |
"elasticsearch" => { | |
"dir" => "/etc", | |
"cluster" => { | |
"name" => "elasticsearch_vagrant" | |
}, | |
"bootstrap" => { | |
"mlockall" => false | |
}, | |
"limits" => { | |
"nofile" => '512', | |
"memlock" => '128' | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment