Skip to content

stoshiya/chef-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chef-repo

Chef Zero Recipes for Amazon Linux 2 AMI

recipes

  • elasticsearch
  • gobrew
  • golang
  • kibana
  • mackerel-agent
  • mongodb
  • monit
  • newrelic-infra
  • nginx
  • nodebrew
  • node.js
  • redis
  • stunnel
  • td-agent
  • yum

prepare

$ 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

run

$ git clone https://github.com/stoshiya/chef-repo.git
$ cd chef-repo
$ sudo chef-client -z -c client.rb -j nodes/COOKBOOK.json

create new cookbook

$ 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

License

MIT

About

Chef Zero Recipes for AWS EC2 Linux AMI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published