This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shove this in ~/.chef/bootstrap/joyent-smartos.erb | |
# run knife bootstrap <hostname> -d joyent-smartos | |
# works with joyent images: | |
# 01b2c898-945f-11e1-a523-af1afbe22822 smartos 1.6.3 smartos smartmachine | |
# f9e4be48-9466-11e1-bc41-9f993f5dff36 smartos64 1.6.3 smartos smartmachine | |
bash -c ' | |
if [ ! -f /opt/local/bin/chef-client ]; then | |
pkgin -f update | |
pkgin -y install gcc-compiler gcc-runtime gcc-tools scmgit-base scmgit-docs gmake ruby193-base ruby193-yajl-ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Joyent SmartOS Base64 1.7.2 | |
# shove this in ~/.chef/bootstrap/joyent-smartos.erb | |
# run knife bootstrap <hostname> -d joyent-smartos | |
bash -c ' | |
if [ ! -f /opt/local/bin/chef-client ]; then | |
pkgin -f update | |
pkgin -y install gcc47 gcc47-runtime scmgit-base scmgit-docs gmake ruby193-base ruby193-yajl-ruby ruby193-nokogiri ruby193-readline emacs-nox11 pkg-config-0.25nb1 | |
gem update --system | |
gem install --no-ri --no-rdoc ohai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1='\w$(__git_ps1 "(%s)") > ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Joyent SmartOS Base64 1.8.1 | |
# shove this in ~/.chef/bootstrap/joyent-smartos.erb | |
# run knife bootstrap <hostname> -d joyent-smartos | |
bash -c ' | |
if [ ! -f /opt/local/bin/chef-client ]; then | |
pkgin -f update | |
pkgin -y install gcc47 gcc47-runtime scmgit-base scmgit-docs gmake ruby193-base ruby193-yajl ruby193-nokogiri ruby193-readline emacs-nox11 pkg-config | |
gem update --system | |
gem install --no-ri --no-rdoc ohai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update gems | |
sudo gem update --no-rdoc --no-ri | |
# edit client.rb with correct validation key and chef server | |
# also set the environment | |
log_level :info | |
log_location STDOUT | |
chef_server_url "https://api.opscode.com/organizations/modcloth-comments" | |
validation_client_name "modcloth-comments-validator" | |
node_name "comments-standalone-01.demo.modcloth.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 Floyd’s - Zombie Dust | |
Batch Size: 6 gallons | |
Estimated Original Gravity: 1.065 | |
Estimated Final Gravity: 1.018 | |
Estimated Color: 8.5 SRM | |
Bitterness: 65.9 IBU | |
Mash Temp: 154 F | |
60 min boil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 sudo passwd | |
2 ls | |
3 uname -a | |
4 apt-get install build-essenatial git | |
5 apt-get install build-essential git | |
6 curl -L https://www.opscode.com/chef/install.sh | sudo bash | |
7 echo 'export PATH="/opt/chef/embedded/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile | |
8 mkdir -p /var/chef/cache /var/chef/cookbooks/emacs | |
9 : wget -qO- https://github.com/opscode-cookbooks/chef-server/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/chef-server --strip-components=1 | |
10 wget -qO- https://github.com/opscode-cookbooks/emacs/archive/master.tar.gz | tar xvzC /var/chef/cookbooks/emacs --strip-components=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Juicer Bloody Marys (8-10 servings) | |
8-10 large roma or medium slicer tomatoes | |
1 stalk of celery (use small ribs and leaves as garnish) | |
1 large cucumber | |
1 green bell pepper | |
1 jalapeno (pull out the seeds and ribs if you like it mild) | |
2 carrots | |
1 clove of garlic | |
2 limes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'chef' | |
require 'chef/knife/cookbook_metadata_from_file' | |
require 'chef/knife/cookbook_metadata' | |
require 'mixlib/shellout' | |
require 'json' | |
require 'pp' | |
require 'highline/import' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'chef/knife' | |
Chef::Config.from_file(File.join(Chef::Knife.chef_config_dir, 'knife.rb')) | |
rest = Chef::REST.new(Chef::Config[:chef_server_url]) | |
Chef::Node.list.each do |node| | |
%w{read update delete grant}.each do |perm| |
OlderNewer