Skip to content

Instantly share code, notes, and snippets.

View julien51's full-sized avatar

Julien Genestoux julien51

View GitHub Profile
repo: [email protected]:notifixious/superfeedr-superparsr.git
The authenticity of host 'notifixious.unfuddle.com (174.129.246.137)' can't be established.
RSA key fingerprint is a6:74:33:36:95:31:6e:a6:d7:71:87:b8:3c:38:e2:60.
Are you sure you want to continue connecting (yes/no)?
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/file_cache.rb:112:in `load': Cannot find /srv/chef/cache/registration/ubuntu for registration/ubuntu! (Chef::Exceptions::FileNotFound)
ERROR: template[/etc/default/monit] (/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/recipe.rb line 189) had an error:
500 "Internal Server Error"
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:232:in `run_request'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:85:in `get_rest'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/template.rb:80:in `action_create'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `send'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in
~ Params: {"platform"=>"ubuntu", "cookbook_id"=>"monit", "fqdn"=>"ubuntu", "action"=>"index", "id"=>"monit", "controller"=>"chef_server_slice/cookbook_templates", "version"=>"8.04", "checksum"=>"", "node_name"=>"ubuntu"}
~ Cannot find a preferred file for monit! - (Chef::Exceptions::FileNotFound)
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/mixin/find_preferred_file.rb:91:in `find_preferred_file'
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/app/controllers/cookbook_templates.rb:63:in `show'
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/app/controllers/cookbook_templates.rb:54:in `index'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/merb_con
#!/bin/bash
echo "Setting up chef..."
sudo apt-get -y update
sudo apt-get -y install ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert
cd /tmp
wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
tar zxf rubygems-1.3.4.tgz
RECV: <body xmlns='http://jabber.org/protocol/httpbind'><failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure></body>
SENT: <body rid='3737856617' xmlns='http://jabber.org/protocol/httpbind' sid='8a8e8307ba77ad9ab630686c0356cb424c7385fb'><response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9Imp1bGllbiIscmVhbG09IiIsbm9uY2U9IjM5Mzg2NTAwODMiLGNub25jZT0iZDQxZDhjZDk4ZjAwYjIwNGU5ODAwOTk4ZWNmODQyN2UiLG5jPSIwMDAwMDAwMSIscW9wPSJhdXRoIixkaWdlc3QtdXJpPSJ4bXBwLyIscmVzcG9uc2U9IjU5NGE2ZWRhYTNiNjFjNzA5ZDRjNjczYWMyZjRkOWRhIixjaGFyc2V0PSJ1dGYtOCI=</response></body>
RECV: <body xmlns='http://jabber.org/protocol/httpbind'><challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>bm9uY2U9IjM5Mzg2NTAwODMiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge></body>
SENT: <body rid='3737856616' xmlns='http://jabber.org/protocol/httpbind' sid='8a8e8307ba77ad9ab630686c0356cb424c7385fb'><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/></body>
<script language='javascript' src='http://code.stanziq.com/svn/strophe/trunk/strophejs/b64.js'></script>
<script language='javascript' src='http://code.stanziq.com/svn/strophe/trunk/strophejs/md5.js'></script>
<script language='javascript' src='http://code.stanziq.com/svn/strophe/trunk/strophejs/sha1.js'></script>
<script language='javascript' src='http://code.stanziq.com/svn/strophe/trunk/strophejs/strophe.js'></script>
<script language='javascript'>
<!--
function log(msg) {
// $('#log').prepend('<div></div><br /><br />').prepend(document.createTextNode(msg));
(reverse log)
RECV: <body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='improper-addressing'/>
Disconnected
...
RECV: <body xmlns='http://jabber.org/protocol/httpbind'/>
(reverse log)
RECV: <body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='improper-addressing'/>
Disconnected
...
RECV: <body xmlns='http://jabber.org/protocol/httpbind'/>
Right Now :
<iq type="result" to="[email protected]" id="subman1" from="firehoser.superfeedr.com">
<pubsub xmlns="http://jabber.org/protocol/pubsub" xmlns:superfeedr="http://superfeedr.com/xmpp-pubsub-ext" >
<subscriptions superfeedr:page="3">
<subscription node="http://domain.tld/a/feed/atom.xml" subscription="subscribed" jid="[email protected]" />
<subscription node="http://domain2.tld/feed.rss" subscription="subscribed" jid="[email protected]" />
</subscriptions>
</pubsub>
</iq>