Chef Zero Recipes for Amazon Linux 2 AMI
- elasticsearch
- gobrew
- golang
- kibana
- mackerel-agent
- mongodb
- monit
- newrelic-infra
- nginx
- nodebrew
- node.js
- redis
- stunnel
- td-agent
- yum
$ sudo yum update -y
$ sudo yum install -y git
$ curl -L http://www.opscode.com/chef/install.sh | sudo bash -s -- -v 12.6.0
$ git clone https://github.com/stoshiya/chef-repo.git
$ cd chef-repo
$ sudo chef-client -z -c client.rb -j nodes/COOKBOOK.json
$ knife cookbook create NEW_COOKBOOK -o site-cookbooks
$ vim site-cookbooks/NEW_COOKBOOK/recipes/default.rb
$ vim nodes/NEW_COOKBOOK.json
$ sudo chef-client -z -c client.rb -j nodes/NEW_COOKBOOK.json