Created
February 12, 2015 12:30
-
-
Save doismellburning/03019a3e6e5ba1135501 to your computer and use it in GitHub Desktop.
Example Elasticsearch puppet config with instancing
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 myexample::elasticsearch ( | |
) { | |
$instance = 'loremipsum' | |
class { | |
'::elasticsearch': | |
package_url => 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.1.deb', | |
} | |
::elasticsearch::instance { | |
$instance: | |
config => { | |
}, | |
} | |
::elasticsearch::plugin { | |
'lmenezes/elasticsearch-kopf': | |
instances => $instance, | |
module_dir => 'kopf', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment