· 7 years ago · Oct 07, 2018, 05:54 PM
1{
2 "run_list": [ "recipe[monit]",
3 "recipe[nginx]",
4 "recipe[elasticsearch]",
5 "recipe[elasticsearch::plugin_aws]",
6 "recipe[elasticsearch::proxy_nginx]" ],
7
8 "elasticsearch" : {
9 "cluster_name" : "elasticsearch_test_with_chef",
10
11 "discovery" : { "type": "ec2" },
12
13 "gateway" : {
14 "type" : "s3",
15 "s3" : { "bucket": "<REPLACE WITH A UNIQUE NAME SUCH AS yourname-elasticsearch-test-with-chef>" }
16 },
17
18 "cloud" : {
19 "aws" : { "access_key": "<REPLACE>", "secret_key": "<REPLACE>" },
20 "ec2" : { "security_group": "elasticsearch-test" }
21 },
22
23 "nginx" : {
24 "users" : [ { "username" : "USERNAME", "password" : "PASSWORD" } ]
25 }
26 },
27
28 "monit" : {
29 "notify_email" : "<REPLACE WITH YOUR E-MAIL>",
30 "mail_format" : { "from" : "monit@amazonaws.com", "subject" : "[monit] $SERVICE $EVENT on $HOST", "message" : "$SERVICE $ACTION: $DESCRIPTION" }
31 }
32
33}