Skip to content

Instantly share code, notes, and snippets.

View KeithHanson's full-sized avatar

Keith Hanson KeithHanson

View GitHub Profile
seraphimrhapsody:~/highform/findmytxt/clouds[master*]$ cloud provision -v --debug
Using spec at clouds.rb
Provisioning master
Capistrano provisioner loaded...
Building new manifest configuration file (forced: false)
Building manifest
Provisioning master
** [out :: 174.129.104.131] Hit http://security.ubuntu.com hardy-security Release.gpg
** [out :: 174.129.104.131] Ign http://security.ubuntu.com hardy-security/main Translation-en_US
** [out :: 174.129.104.131] Hit http://us.archive.ubuntu.com hardy Release.gpg
seraphimrhapsody:~/highform/findmytxt/clouds[master*]$ cloud configure -v --debug
Using spec at clouds.rb
Capistrano provisioner loaded...
Building new manifest configuration file (forced: false)
Building manifest
Provisioning master
** [out :: 174.129.104.131]
root@master:/var# puppetd --test
err: Could not retrieve catalog: Failed to execute generator /usr/bin/env: Execution of '/usr/bin/env /usr/bin/server-list-active -c name -n app' returned 256: /usr/local/lib/site_ruby/1.8/rubygems.rb:636:in `report_activate_error': RubyGem version error: net-ssh(2.0.6 not >= 2.0.10) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:141:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
Successfully installed auser-poolparty-1.0.0
1 gem installed
Installing ri documentation for auser-poolparty-1.0.0...
Installing RDoc documentation for auser-poolparty-1.0.0...
seraphimrhapsody:~/highform/findmytxt/clouds[master*]$ cloud start -v -d
*** Starting cloud app
0 running instances (1 - 1)
Starting the master instance
Launching and configuring the master
seraphimrhapsody:~/highform/findmytxt/clouds[master*]$
root@master:/etc/puppet/manifests/classes# cat poolparty.pp
class poolparty {
class varwww {
file { "custom":
name => 'custom'
}
}
include varwww
root@master:~# cat /etc/puppet/manifests/classes/poolparty.pp
class poolparty {
class rootwww {
file { "custom":
name => 'custom'
}
}
include rootwww
From 78c6cfdc2212f45741f5b045ccfef1761d33c9f8 Mon Sep 17 00:00:00 2001
From: Keith Hanson <seraphimrhapsody@gmail.com[color]>
Date: Thu, 19 Mar 2009 19:29:23 -0500
Subject: [PATCH] HAlf.com integration.
---
app/views/shared/_affiliate.html.erb | 2 +-
lib/affiliates.rb | 2 +-
lib/affiliates/affiliate_result.rb | 6 ++--
lib/affiliates/half.rb | 64 ++++++++++++++++++++++++++++++++++
check process thin-1 with pidfile /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.1.pid
group thins
start program = "/usr/bin/thin -y -e production -a 74.50.50.222 -p 30000 -l /u/apps/findmytxt/current/log/findmytxt-thin.log -P /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.pid -s 10 -c /u/apps/findmytxt/current/ -o 1 start"
stop program = "/usr/bin/thin -y -e production -a 74.50.50.222 -p 30000 -l /u/apps/findmytxt/current/log/findmytxt-thin.log -P /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.pid -s 10 -c /u/apps/findmytxt/current/ -o 1 stop"
if 5 restarts within 5 cycles then timeout
depends on swiftiply
require 'rubygems'
require 'gosu'
include Gosu
class GameWindow < Window
# Word Wrap method shamelessly stolen from: http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=94
def wordwrap(message,width,font)
#split the message into multiple words
13:02 ~/Downloads/mudlet $ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info