Skip to content

Instantly share code, notes, and snippets.

#\ -w -p 8765
use Rack::ContentLength
use Rack::Reloader, 0
require "net/http"
class Rack::Proxy
def initialize(app, &block)
self.class.send(:define_method, :uri_for, &block)
@app = app
require 'rexml/document'
require "models/prog_const.rb"
# TODO: MK Get rid of all vestiges of Dupin's global cache that doesn't cache anything.
$prog_const = ProgConst.new if $prog_const.nil?
$prog_const.check_reload
#This object holds all the required information about a PVM post the system
#will need to work with the xml message
#
class PostPackage
#\ -w -p 8765
use Rack::ContentLength
use Rack::Reloader, 0
require "net/http"
class Rack::Proxy
def initialize(app, &block)
self.class.send(:define_method, :uri_for, &block)
@app = app
require 'rexml/document'
require "models/prog_const.rb"
# TODO: MK Get rid of all vestiges of Dupin's global cache that doesn't cache anything.
$prog_const = ProgConst.new if $prog_const.nil?
$prog_const.check_reload
#This object holds all the required information about a PVM post the system
#will need to work with the xml message
#
class PostPackage
chinook:opt mattkern$ less /Users/mattkern/.rvm/log/ruby-1.8.6-p399/make.error.log
ptr.c:461: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘void *’
void
char
short
int
long
float
double
Return-Path: <info@engineyard.com>
Delivered-To: mkern@artisantechnologies.com
Received: (qmail 5103 invoked by uid 1011); 8 Jul 2010 22:13:06 +0000
Received: from 70.42.33.253 by crow.artisantechnologies.com (envelope-from <info@engineyard.com>, uid 1009) with qmail-scanner-1.25-st-qms
(clamdscan: 0.94.2/9177. spamassassin: 3.2.5. perlscan: 1.25-st-qms.
Clear:RC:0(70.42.33.253):SA:0(-1.3/5.0):.
Processed in 1.129724 secs); 08 Jul 2010 22:13:06 -0000
X-Spam-Status: No, hits=-1.3 required=5.0
X-Spam-Report: SA TESTS
1.9 TVD_RCVD_IP TVD_RCVD_IP
chinook:~ mattkern$ dscl localhost -read /Local/Default/Hosts/ey.stg.dcgateway.pvpowered.com
AppleMetaNodeLocation: /Local/Default
IPAddress: 72.46.233.19
RecordName: ey.stg.dcgateway.pvpowered.com
RecordType: dsRecTypeStandard:Hosts
chinook:~ mattkern$ host ey.stg.dcgateway.pvpowered.com
ey.stg.dcgateway.pvpowered.com has address 70.42.33.176
chinook:~ mattkern$
# For complete deployment instructions, see the following support guide:
# http://www.engineyard.com/support/guides/deploying_your_application_with_capistrano
require "eycap/recipes"
Dir[File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'hoptoad_notifier-*')].each do |vendored_notifier|
$: << File.join(vendored_notifier, 'lib')
end
require 'hoptoad_notifier/capistrano'
chinook:portal mattkern(master)$ cap migration_prod deploy:long
* executing `migration_prod'
* executing `deploy:long'
triggering before callbacks for `deploy:long'
* executing `deploy:notify:start'
* executing "curl -X POST -d \"application=portal\" http://weather.engineyard.com/`hostname`/deploy_start -fs"
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21"]
[72.46.233.21:7001] executing command
[72.46.233.21:7002] executing command
[72.46.233.21:7003] executing command
Sep 23 09:33:16 tm26-s00229 ntpd[4788]: kernel time sync error 0001
Sep 23 10:07:28 tm26-s00229 ntpd[4788]: kernel time sync error 0001
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact cerego_user
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact ipmi
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact kgb_user
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact migration
Sep 23 10:39:02 tm26-s00229 puppetd[3836]: Retrieving plugins
Sep 23 10:39:02 tm26-s00229 puppetd[3836]: (/File[/var/lib/puppet/lib/facter]/checksum) checksum changed '{mtime}Tue Apr 27 09:22:03 -0700 2010' to '{mtime}Mon Aug 09 19:45:50 -0700 2010'
Sep 23 10:39:03 tm26-s00229 puppetd[3836]: Loading fact cerego_user