Created
July 22, 2017 02:19
-
-
Save ycyr/307da699a97843a3892a781059f0807b to your computer and use it in GitHub Desktop.
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
class { 'elasticsearch': | |
java_install => true, | |
manage_repo => true, | |
repo_version => '5.x', | |
restart_on_change => true, | |
security_plugin => 'x-pack', | |
jvm_options => [ | |
'-Xms1g', | |
'-Xmx1g' | |
], | |
} | |
elasticsearch::instance { 'es-01': | |
config => { | |
'network.host' => '0.0.0.0', | |
}, | |
} | |
elasticsearch::plugin { 'x-pack': instances => 'es-01' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment