Skip to content

Instantly share code, notes, and snippets.

@stevepereira
Created July 4, 2013 18:38
Show Gist options
  • Save stevepereira/5929555 to your computer and use it in GitHub Desktop.
Save stevepereira/5929555 to your computer and use it in GitHub Desktop.
ElasticSearch role example
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