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
schisamo@automate-omnibus-fresh-install-acceptance:~$ sudo cat /var/log/delivery-ctl/runner-install_runner-1604-omnibus-fresh-install-acceptance.cd.chef.co.log | |
# Logfile created on 2017-11-14 20:25:24 +0000 by logger.rb/56504 | |
W, [2017-11-14T20:25:24.314918 #22943] WARN -- : [SSH] PTY requested: stderr will be merged into stdout | |
D, [2017-11-14T20:25:24.315178 #22943] DEBUG -- : [SSH] ubuntu@runner-1604-omnibus-fresh-install-acceptance.cd.chef.co<{:user_known_hosts_file=>"/dev/null", :port=>22, :compression=>false, :compression_level=>0, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :auth_methods=>["none", "publickey"], :keys_only=>true, :keys=>["/etc/delivery/delivery.pem"], :password=>"<hidden>", :forward_agent=>nil, :verify_host_key=>false}> (uname -s) | |
D, [2017-11-14T20:25:24.315267 #22943] DEBUG -- : [SSH] opening connection to ubuntu@runner-1604-omnibus-fresh-install-acceptance.cd.chef.co<{:user_known_hosts_file=>"/dev/null", :port=>22, :compression=>false, :compression_level=>0, :keepalive=>tr |
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
#-- | |
# Author:: Daniel DeLeo (<dan@opscode.com>) | |
# Author:: John Keiser (<jkeiser@opscode.com>) | |
# Copyright:: Copyright (c) 2011 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
#-- | |
# Author:: Daniel DeLeo (<dan@opscode.com>) | |
# Author:: John Keiser (<jkeiser@opscode.com>) | |
# Copyright:: Copyright (c) 2011 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
{ | |
"name": "test2", | |
"default_attributes": { | |
"firewall": { | |
"rules": [ | |
{ | |
"25": { "port": "25", "protocol": "tcp" } | |
} | |
] | |
} |
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
knife ec2 server create -G default -I ami-61be7908 -f m1.small \ | |
-S schisamo -x ubuntu -d ubuntu10.04-ruby192 |
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
provides "gamespy" | |
require_plugin "kernel" | |
require_plugin "network" | |
def get_ip_address(name, eth) | |
network[:interfaces][eth][:addresses].each do |key, info| | |
gamespy[name] = key if info['family'] == 'inet' | |
end | |
end |
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
i = gem_package "sys-proctable" do | |
action :nothing | |
end | |
i.run_action(:install) | |
require 'rubygems' | |
Gem.clear_paths | |
require 'sys/proctable' | |
Rackspace.is_proc("deployment.*sh", 300) |
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
Veewee::Session.declare( { | |
:cpu_count => '1', | |
:memory_size=> '256', | |
:disk_size => '10140', | |
:disk_format => 'VDI', | |
:disk_size => '10240' , | |
:os_type_id => 'Ubuntu', | |
:iso_file => "ubuntu-10.04.1-server-i386.iso", | |
:iso_src => "http://releases.ubuntu.com/10.04.1/ubuntu-10.04.1-server-i386.iso", | |
:iso_md5 => "01f72c846845e4e19aec8a45912e5dda", |
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
Veewee::Session.declare( { | |
:cpu_count => '1', | |
:memory_size=> '384', | |
:disk_size => '10140', | |
:disk_format => 'VDI', | |
:disk_size => '10240' , | |
:os_type_id => 'RedHat', | |
:iso_file => "CentOS-5.5-i386-netinstall.iso", | |
:iso_src => "http://mirror.bytemark.co.uk/centos/5.5/isos/i386/CentOS-5.5-i386-netinstall.iso", | |
:iso_md5 => "0172883a3039772165db073693debae5", |
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
require 'timeout' | |
include Rackspace::Proc | |
define :wait_on_proc, :timeout_sec => 60 do | |
include_recipe "rackspace" | |
begin | |
Timeout::timeout(params[:timeout_sec]) do | |
while getProcPid(params[:name]) | |
sleep(5) | |
end |
NewerOlder