cookbooks
Chef
cookbooks | Chef | |
---|---|---|
1 | 2 | |
0 | 7,483 | |
- | 0.6% | |
1.8 | 9.6 | |
almost 3 years ago | 4 days ago | |
Ruby | Ruby | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cookbooks
-
Create and Configure Google Cloud Instance using Terraform and Chef
#!/bin/bash mkdir -p /data/chef_cookbooks rm -rf /data/chef_cookbooks/* outfile='/var/log/userdata.out' # Install Chef client v14 if [ ! -f /usr/bin/chef-client ] ; then echo "Installing chef client" >> $outfile curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 15.8.23 >> $outfile fi # Install git if [ ! -f /usr/bin/git ] ; then yum install git -y >> $outfile fi # Clone Chef cookbook repo cd /data/chef_cookbooks echo "Cookbook Repo cloning" >> $outfile git clone https://github.com/chefgs/cookbooks.git >> $outfile echo "Executing chef-client" >> $outfile cd /data/chef_cookbooks sudo chef-client -z -o apache --chef-license accept >> /var/log/chefrun.out ## if [ -d /var/www/html/ ] ; then echo "Apache server created successfully, hence create sample html site" >> $outfile cat <<'EOF' >> /var/www/html/index.html Apache server in Google Cloud Created using metadata startup script from a local script file. EOF fi
Chef
-
I_suck_and_my_tests_are_order_dependent
my contribution: public_method_that_only_deep_merge_should_use
https://github.com/chef/chef/blob/68dd5f42273f19bc5975c0dc8e...
that was 9 years ago and it was code smell that things were broken apart incorrectly and at some point i rewrote it so that wasn't necessary -- but sometimes you just gotta move the ball down the field, even if you don't get a first down.
-
Ask HN: Codebases with great, easy to read code?
I've found the Chef project (https://github.com/chef/chef) to be high quality and easily readable but I've been working with Chef for like 8 years at this point which might be influencing how I view it.
Hashicorp projects also seem very well done too especially given how extensible they are.
What are some alternatives?
client-platform-engineering - A collection of cookbooks, scripts and binaries used to manage our macOS, Ubuntu and Windows endpoints
Capistrano - A deployment automation tool built on Ruby, Rake, and SSH.
terraform_repo - Terraform samples for Major Cloud Providers and Custom Provider Development
Puppet - Server automation framework and application
BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
Mina - Blazing fast deployer and server automation tool
Logstash - Logstash - transport and process your logs, events, or other data
gru - Orchestration made easy with Go and Lua
Rubber - A capistrano/rails plugin that makes it easy to deploy/manage/scale to various service providers, including EC2, DigitalOcean, vSphere, and bare metal servers.
(R)?ex - Rex, the friendly automation framework
CFEngine - CFEngine Community