Skip to content

Instantly share code, notes, and snippets.

View damm's full-sized avatar

Scott M. Likens damm

  • Seattle, Washington USA
View GitHub Profile
@damm
damm / README
Created November 28, 2009 00:38
These go in /etc/init and are related to upstart on karmic... if you don't know what your doing please don't use these.
Package: collectd
Priority: optional
Section: universe/utils
Installed-Size: 2196
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Original-Maintainer: Sebastian Harl <tokkee@debian.org>
Architecture: amd64
Version: 4.6.3-1
Replaces: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql, collectd-perl, collectd-ping, collectd-sensors
Provides: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql, collectd-perl, collectd-ping, collectd-sensors
@damm
damm / config.ru
Created December 1, 2009 18:25 — forked from adamhjk/config.ru
require 'merb-core'
require 'chef'
Chef::Config.from_file('/etc/chef/server.rb')
require 'chef/nanite'
require 'uuidtools'
Chef::Config[:nanite_identity] = "chef-#{UUIDTools::UUID.random_create.to_s}"
Chef::Nanite.in_event { Chef::Log.info "Nanite Booting..." }
time = 17
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:33 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:34 chef init: couchdb main process ended, respawning
Nov 30 20:55:35 chef init: couchdb main process ended, respawning
Nov 30 20:55:35 chef init: couchdb main process ended, respawning
Nov 30 20:55:36 chef init: couchdb main process ended, respawning
Nov 30 20:55:36 chef init: couchdb main process ended, respawning
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.alf.useragent</string>
<key>MachServices</key>
<dict>
<key>com.apple.alf.useragent</key>
<true/>
</dict>
[Thu, 03 Dec 2009 23:50:20 -0500] ERROR: remote_directory[/var/www/mod_base] (/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/lib/chef/mixin/recipe_definition_dsl_core.rb line 56) had an error:
404 "Not Found"
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/rest.rb:281:in `run_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/rest.rb:99:in `get_rest'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/provider/remote_directory.rb:52:in `do_recursive'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/provider/remote_directory.rb:40:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:61:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:61:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/runner.rb:111:in `converge'
libohai-ruby1.8:
Installed: 0.3.6-1
Candidate: 0.3.6-1
Version table:
*** 0.3.6-1 0
500 http://apt.opscode.com jaunty/universe Packages
100 /var/lib/dpkg/status
gettimeofday({1260206232, 138816}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 896688028}) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 896746302}) = 0
select(13, [3 8 11], [], [5 6], {0, 89941}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {46338, 986995301}) = 0
select(13, [3 8 11], [], [5 6], {0, 0}) = 0 (Timeout)
gettimeofday({1260206232, 229313}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 987178691}) = 0
clock_gettime(CLOCK_MONOTONIC, {46338, 987236687}) = 0
select(13, [3 8 11], [], [5 6], {0, 89942}) = 0 (Timeout)
log_level :error
log_location STDOUT
file_cache_path "/srv/chef/cache"
ssl_verify_mode :verify_none
registration_url "http://127.0.0.1:4000"
openid_url "http://127.0.0.1:4000"
template_url "http://127.0.0.1:4000"
remotefile_url "http://127.0.0.1:4000"
search_url "http://127.0.0.1:4000"
@damm
damm / chef.json
Created December 15, 2009 02:02 — forked from learnist/chef.json
{
"bootstrap": {
"chef": {
"url_type": "http",
"init_style": "init",
"server_fqdn": "ec2-174-129-61-113.compute-1.amazonaws.com",
},
"recipes": "bootstrap::client"
}
}