Skip to content

Instantly share code, notes, and snippets.

View botchagalupe's full-sized avatar

John Willis botchagalupe

View GitHub Profile
#
# Cookbook Name:: rundeck
# Recipe:: default
#
# Copyright 2011, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
include_recipe "java"
include_recipe "chefdeck"
#
# Cookbook Name:: rundeck
# Recipe:: default
#
# Copyright 2011, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
include_recipe "java"
include_recipe "chefdeck"
@botchagalupe
botchagalupe / gist:1006355
Created June 3, 2011 13:38
Rundeck Demo Stup

To start chef-deck

sudo -b chef-rundeck -c /etc/chef/client.rb -u rundeck  -w https://manage.opscode.com/

To setup AWSDeck

sudo cp -r * /usr/lib/cgi-bin

First install the Workbench instance

@botchagalupe
botchagalupe / gist:1045259
Created June 24, 2011 17:33
Jenkins in two primatives
include_recipe "apt"

apt_repository "jenkins" do
  uri "http://pkg.jenkins-ci.org/debian"
  components ["binary/"]
  key "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key"
  action :add
end

package "jenkins" do

@botchagalupe
botchagalupe / gist:1052428
Created June 28, 2011 22:38
Chef-Server Install Chef Recipe
include_recipe "apt"

apt_repository "apt.opscode.com" do
  uri "http://apt.opscode.com"
  components ["natty-0.10 main"]
  key "http://apt.opscode.com/packages@opscode.com.gpg.key"
  action :add
end

execute "preseed chef-server" do

@botchagalupe
botchagalupe / gist:1076652
Created July 11, 2011 19:51
Devops Workshop Students Notes

Setup a Three Server HAPROXY/APACHE2 Setup

Ubuntu Image used in class

images: 
 
Student Workstation - ami-2e7e8747 
Student lab servers - ami-0ada1e63

Notes: Use

@botchagalupe
botchagalupe / gist:1080335
Created July 13, 2011 13:57
Setting up Chef-Solo

Images used in hack a thon

{ "name": "devops01", "id": "20095942", "uuid": "e55a9ac1e7f32b6228b53bea7f305621d6514bde", "public_ip": ['184.106.177.19'], "private_ip": ['10.180.128.208'], "extra": {'flavorId': '4', 'uri': 'https://servers.api.rackspacecloud.com/v1.0/544644/servers/20095942', 'imageId': '49', 'hostId': '4a98d4f222e5d8823fa87aada364b751', 'password': 'devops011aQwJ6M4h', 'metadata': {}}}

{ "name": "devops02", "id": "20095945", "uuid": "ae5355f4647f025e9506a53329734c4516a4098d", "public_ip": ['184.106.177.24'], "private_ip": ['10.180.128.207'], "extra": {'flavorId': '4', 'uri': 'https://servers.api.rackspacecloud.com/v1.0/544644/servers/20095945', 'imageId': '49', 'hostId': '5c916b5d52edc2f3f39feed720188d73', 'password': 'devops02U6HtQn26p', 'metadata': {}}}

{ "name": "devops03", "id": "20095947", "uuid": "8abd4227ecb5792072a271092b25f2049937e3bc", "public_ip": ['184.106.177.25'], "private_ip": ['10.180.128.206'], "extra": {'flavorId': '4', 'uri': 'https://servers.api.rackspacecloud.com/v1.

Begin forwarded message:
From: "DynDNS.com Support Team" <support@dyndns.com>
Subject: [DynDNS #1551580] AutoReply: [User: alexhonor] Dyn Standard DNS/Secondary DNS: My zone is inactive
Date: August 11, 2011 3:33:42 PM PDT
To: alexhonor@yahoo.com
Reply-To: support@dyndns.com
Greetings,
@botchagalupe
botchagalupe / gist:1307432
Created October 23, 2011 14:44
Chicago Camp Devops Hack Day