I hereby claim:
- I am bbelchak on github.
- I am bbelchak (https://keybase.io/bbelchak) on keybase.
- I have a public key ASAiNZwGxoKhgf4YyZLg5G06T9z82UpYR8rrZCBUHCtkdwo
To claim this, I am signing this object:
if Gem.available?('tinder') | |
require 'tinder' | |
campfire = Tinder::Campfire.new '<SUBDOMAIN>', :token => '<TOKEN>' | |
room = campfire.find_room_by_name '<ROOMNAME>' | |
end | |
# Put this wherever you want chef to speak: | |
if Gem.available?('tinder') | |
room.speak('<HELLOWORLD>') | |
end |
# Define the directory paths | |
set[:core][:paths][:root] = "/opt/needle" | |
default[:core][:config_root] = "#{@node[:core][:paths][:root]}/config" | |
default[:core][:partner_root] = "#{@node[:core][:paths][:root]}/partners" |
/etc/chef/client.rb:29:in `from_file': undefined method `[]' for nil:NilClass (NoMethodError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application.rb:69:in `configure_chef' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application.rb:54:in `reconfigure' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application/client.rb:146:in `reconfigure' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/application.rb:60:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/chef-client:26 | |
from /usr/bin/chef-client:19:in `load' | |
from /usr/bin/chef-client:19 |
{ | |
"webserverPort": <%= @node[:core][:port] %>, | |
"simpleDbAccessKeyID" : "<%= @node[:core][:simpledb_access_key] %>", | |
"simpleDbSecretAccessKey" : "<%= @node[:core][:simpledb_secret_key] %>", | |
"configRoot" : "<%= @node[:core][:root_directory] %>", | |
"persistRoot" : "<%= @node[:core][:paths][:persist] %>", | |
"cityDbPath" : "<%= @node[:core][:paths][:geoip_city_db] %>", | |
"haystackServerHost" : "<%= @node[:core][:haystack_host] %>", | |
"haystackServerPort" : <%= @node[:core][:haystack_port] %>, | |
"partners" : [ |
from urllib2 import * | |
from HTMLParser import HTMLParser | |
class Googleit(HTMLParser): | |
""" | |
Simple Python API to google. Returns a single numbered result from a search string. | |
Usage: | |
result = Googleit(term, number) | |
""" |
# | |
# Author:: Adam Jacob (<adam@opscode.com>) | |
# Copyright:: Copyright (c) 2009 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 | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
2013-03-18 18:04:00,552 | ERROR | dd.forwarder | transaction(transaction.py:180) | | |
Traceback (most recent call last): | |
File "/usr/share/datadog/agent/transaction.py", line 178, in flush_next | |
tr.flush() | |
File "/usr/bin/dd-forwarder", line 201, in flush | |
ca_certs=ssl_certificate | |
File "/usr/lib/pymodules/python2.7/tornado/httpclient.py", line 303, in __init__ | |
self.body = utf8(body) | |
File "/usr/lib/pymodules/python2.7/tornado/escape.py", line 168, in utf8 | |
assert isinstance(value, unicode) |
=================== | |
Forwarder (v 3.6.0) | |
=================== | |
Status date: 2013-03-18 22:47:56 (2s ago) | |
Pid: 21211 | |
Platform: Linux-3.2.0-27-virtual-i686-with-Ubuntu-12.04-precise | |
Python Version: 2.7.3 | |
Logs: <stderr>, /var/log/datadog/forwarder.log, syslog:/dev/log |
2013-03-18 23:02:41,981 | ERROR | dd.forwarder | transaction(transaction.py:180) | | |
Traceback (most recent call last): | |
File "/usr/share/datadog/agent/transaction.py", line 178, in flush_next | |
tr.flush() | |
File "/usr/bin/dd-forwarder", line 201, in flush | |
ca_certs=ssl_certificate | |
File "/usr/lib/pymodules/python2.7/tornado/httpclient.py", line 303, in __init__ | |
self.body = utf8(body) | |
File "/usr/lib/pymodules/python2.7/tornado/escape.py", line 168, in utf8 | |
assert isinstance(value, unicode) |
I hereby claim:
To claim this, I am signing this object: