This file contains hidden or 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
<entry xmlns="http://www.w3.org/2005/Atom"> | |
<title>IMAG0346</title> | |
<id>tag:flickr.com,2005:/photo/3931639648</id> | |
<published>2009-09-18T13:30:19Z</published> | |
<content><p><a href="http://www.flickr.com/people/fbernard1706/">@choum</a> posted a photo:</p> | |
<p><a href="http://www.flickr.com/photos/fbernard1706/3931639648/" title="IMAG0346"><img src="http://farm3.static.flickr.com/2497/3931639648_3437ffa730_m.jpg" width="240" height="180" alt="IMAG0346" /></a></p></content> | |
<link type="text/html" title="" href="http://www.flickr.com/photos/fbernard1706/3931639648/" rel="alternate"/> | |
<link type="image/jpeg" title="" href="http://farm3.static.flickr.com/2497/3931639648_3437ffa730_m.jpg" rel="enclosure"/> | |
<category term="sergio"/> | |
<category term="expo"/> |
This file contains hidden or 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 'rubygems' | |
require 'sinatra' | |
require 'atom' | |
require 'ruby-growl' | |
g = Growl.new "localhost", "Superfeedr", ["Superfeedr Notification"] | |
g.notify "Superfeedr Notification", "We're connected!", | |
"You should soon see notifications coming over." | |
## |
This file contains hidden or 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 'superfeedr-hook' | |
set :run, false | |
run Sinatra::Application |
This file contains hidden or 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 "rubygems" | |
require "eventmachine" | |
require "em-http" | |
require "activesupport" | |
require "nokogiri" | |
url = "http://www.scriptlets.org/run/1218j9o" | |
# url = "http://0.0.0.0:4567/" | |
EM.run { | |
body = Nokogiri::XML::Builder.new do |xml| |
This file contains hidden or 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
# sudo chef-solo -c /tmp/solo.rb -j /tmp/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz | |
[Thu, 08 Oct 2009 02:31:07 +0000] INFO: Starting Chef Solo Run | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/node/attribute.rb:387:in `method_missing': Attribute domain is not defined! (ArgumentError) | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/node.rb:238:in `send' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/node.rb:238:in `method_missing' | |
from /tmp/chef-solo/cookbooks/chef/attributes/chef.rb:57:in `from_file' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/cookbook.rb:78:in `load_attributes' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/cookbook.rb:76:in `each' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/cookbook.rb:76:in `load_attributes' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/compile.rb:76:in `load_attributes' |
This file contains hidden or 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
# sudo chef-solo -l debug -c /tmp/solo.rb -j /tmp/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz | |
sudo: unable to resolve host firehoser1.superfeedr | |
[Thu, 08 Oct 2009 03:16:48 +0000] DEBUG: Creating path /tmp/chef-solo to extract recipes into | |
[Thu, 08 Oct 2009 03:16:48 +0000] DEBUG: Executing tar zxvfC /tmp/chef-solo/recipes.tgz /tmp/chef-solo | |
[Thu, 08 Oct 2009 03:16:48 +0000] DEBUG: ---- Begin output of tar zxvfC /tmp/chef-solo/recipes.tgz /tmp/chef-solo ---- | |
[Thu, 08 Oct 2009 03:16:48 +0000] DEBUG: STDOUT: cookbooks/apache2/ | |
cookbooks/apache2/attributes/ | |
cookbooks/apache2/attributes/apache.rb | |
cookbooks/apache2/definitions/ | |
cookbooks/apache2/definitions/apache_conf.rb |
This file contains hidden or 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
# cat /etc/hosts | |
127.0.0.1 firehoser1.superfeedr.com firehoser1.superfeedr.com |
This file contains hidden or 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
# sudo chef-solo -c /tmp/solo.rb -j /tmp/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz | |
[Thu, 08 Oct 2009 03:24:51 +0000] INFO: Starting Chef Solo Run | |
[Thu, 08 Oct 2009 03:24:53 +0000] INFO: Creating template[/etc/chef/client.rb] at /etc/chef/client.rb | |
[Thu, 08 Oct 2009 03:24:53 +0000] ERROR: template[/etc/chef/client.rb] (/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/mixin/recipe_definition_dsl_core.rb line 54) had an error: | |
No such file or directory - /etc/chef/client.rb | |
/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1262:in `initialize'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1262:in `open'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1262:in `copy_file'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1261:in `open'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1261:in `copy_file'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:463:in `copy_file'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:383:in `cp'/opt/ruby-enterprise/lib/ruby/1.8/fileutils.rb:1395:in `fu |
This file contains hidden or 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
root@firehoser1:~# ohai hostname | |
"firehoser1" | |
root@firehoser1:~# ohai fqdn | |
"firehoser1.superfeedr.com" | |
root@firehoser1:~# ohai domain | |
"superfeedr.com" |
This file contains hidden or 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
/opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError) | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:233:in `run_request' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:95:in `post_rest' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:228:in `create_registration' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:206:in `register' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/client.rb:78:in `run' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/application/client.rb:186:in `run_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/application/client.rb:178:in `loop' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/application/client.rb:178:in `run_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/ch |