Quantcast
Channel: Chef – cookingclouds
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Knife EC2 Extension – Install and Use

Install $ apt-get install -y libxslt-dev libxml2-dev $ gem install knife-ec2 $ gem install net-ssh-multi Get Your AWS Keys Login to your AWS account at aws.amazon.com Go to My Account/Console ->...

View Article


Image may be NSFW.
Clik here to view.

Keys and Values from Hashes in Ruby Templates

Reference: http://ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html ERB recognizes certain tags in the provided template and converts them based on the rules below: <% Ruby code -- inline with...

View Article


Image may be NSFW.
Clik here to view.

Hash Keys and Values in General Ruby

Create a new Hash node = Hash.new Create a new Hash of Hash node[:one] = Hash.new Insert Values into your Hash of Hash node[:one][:object] = "number1" node[:one][:block] = "number2" Print Key and Value...

View Article

Image may be NSFW.
Clik here to view.

Multiple AWS Accounts with Knife Admin

I Recently stumbled across a predicament of multiple aws accounts. This is a minor predicament but a predicament nonethless. I have a situation where i have 1. A personal AWS account 2. A work AWS...

View Article

Image may be NSFW.
Clik here to view.

Essential Knife Plugins for chef

Knife-Spork: This plugin helps you control versioning of your cookbooks and also prevents you from accidently commiting things you don’t want to. $ gem install knife-spork...

View Article


Image may be NSFW.
Clik here to view.

Clustered AMQP Rabbit-MQ

RabbitMQ already has excellent documentation at: http://www.rabbitmq.com/clustering.html But this will be a bit more chef specific server01 = existing chef-server server02 = new rabbitmq server to be...

View Article

Image may be NSFW.
Clik here to view.

Debugging knife configure -i

If you ever see something like this root@chefserver01:/etc/chef# knife configure -i -V Overwrite /root/.chef/knife.rb? (Y/N) y Please enter the chef server URL: [http://chefserver01:4000] Please enter...

View Article

Image may be NSFW.
Clik here to view.

Adding EBS Volumes with Opscode’s AWS cookbook

1. Download opscode’s aws cookbook and put it into your own cookbook repo $ git clone https://github.com/opscode/cookbooks.git opscode-cookbooks $ cp -r opscode-cookbooks/aws my-cookbooks/ $ cd...

View Article


Image may be NSFW.
Clik here to view.

Chef – Nagios Server quickstart

Clone the opscode cookbook $ git clone git@github.com:opscode-cookbooks/nagios.git Create some berkshelf dependency stuff to make your life easier ( I’m going to assume you have berkshelf installed, if...

View Article


Image may be NSFW.
Clik here to view.

Chef – berkshelf lesson for dummies like me Ermahgerd!

I feel like some of the explanations on berkshelf on the internet are confusing. So i felt like doing a small write up myself berkshelf is pretty much a replacement for the “knife cookbook” command....

View Article
Browsing all 10 articles
Browse latest View live