Appsindo Base Cookbook combining setups from:
- ChefDK (https://downloads.getchef.com/chef-dk/)
- vagrant-berkshelf plugin (if you are using vagrant)
This is what I do in Vagrant
chef.custom_config_path = "./chef.config"
chef.json = {
"instance" => instance,
"www" => {
"user" => user,
"group" => group
}
}
# the basic recipes for PHP development
chef.add_recipe("apt")
chef.add_recipe("appsindo")
chef.add_recipe("appsindo::php")
chef.add_recipe("appsindo::php_composer")
chef.add_recipe("appsindo::nginx")
chef.add_recipe("appsindo::nodejs")
chef.add_recipe("appsindo::redis")
chef.add_recipe("appsindo::mysql")
As for chef-solo
, just convert ruby code above into JSON
Ubuntu/Debian Specific Cookbook (still no platform checking - use with caution :P)
Authors & Contributors:
- Erwin Saputra [email protected]
- Dedi Suhanda [email protected]
- Rudi Hermanto [email protected]