chef cookbooks
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 7 commits behind crazed:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ebs_mounter
haproxy
install_webapp
ldap_auth
mysql
nginx
php-fpm
s3cmd
zabbix
README.md

README.md

Cookbooks by crazed

Here's some cookbooks I've written for Opscode Chef. I'll try to keep them updated, but patches/suggestions are always welcome. Also it should be noted I'm a sysadmin not a true developer ;)

zabbix

  • uses the zabbix api written for ruby
  • creates a zabbix_agent resource/provider

haproxy

  • assigns EIP from aws eip_load_balancer_prod databag

  • uses a databag similar to this for server configuration

    $ knife data bag show my-awesome-company application
    {
      "repo": "git://git.hackerna.me/myapp.git",
      "id": "application",
      "revision": "HEAD",
      "deploy": false,
      "deploy_to": "/srv/myapp",
      "prod_role": "myapp-server"
    }
    

install_webapp

  • uses a data bag like the above for deployment info
  • will only deploy when "deploy" is set to true or the node was just added

ebs_mounter

  • creates as many EBS volumes as described in the attributes file
  • stripes the volumes with LVM
  • creates an XFS file system and mounts it

php-fpm

  • adds a PPA to install php-fpm on Ubuntu

nginx

  • installs and configures nginx