Skip to content

Instantly share code, notes, and snippets.

View kisoku's full-sized avatar

Mathieu Sauve-Frankel kisoku

View GitHub Profile
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package ohai
dpkg-buildpackage: source version 0.4.0-1
dpkg-buildpackage: source changed by Joshua Timberman <joshua@opscode.com>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
# please note that the openbsd ftp client does indeed support http and redirects.
$ ftp http://gemcutter.org/gems/amqp-0.6.2.gem
Trying 174.129.212.2...
Requesting http://gemcutter.org/gems/amqp-0.6.2.gem
Redirected to http://s3.amazonaws.com/gemcutter_production/gems/amqp-0.6.2.gem
Trying 207.171.185.197...
Requesting http://s3.amazonaws.com/gemcutter_production/gems/amqp-0.6.2.gem
ftp: Error retrieving file: 403 Forbidden
Index: rc
===================================================================
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.332
diff -u -p -r1.332 rc
--- rc 12 Aug 2009 13:21:15 -0000 1.332
+++ rc 23 Sep 2009 12:13:56 -0000
@@ -779,6 +779,12 @@ if [ X"${krb5_slave_kdc}" = X"YES" ]; th
# Remember to enable hpropd in inetd.conf
fi
#
# Author:: AJ Christensen (<aj@opscode.com>)
# Copyright:: Copyright (c) 2008 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
merb : worker (port 4000) ~ Params: {"node"=>"gikei.jp.kisoku.net", "action"=>"recipe_files", "controller"=>"chef_server_slice/cookbooks"}
~ Sending HTTP Request via GET to /chef/node_gikei_jp_kisoku_net
~ Node requires rsync
merb : worker (port 4000) ~ undefined method `[]' for nil:NilClass - (NoMethodError)
/usr/share/chef-server-slice/app/controllers/application.rb:202:in `load_all_files'
/usr/share/chef-server-slice/app/controllers/application.rb:200:in `each'
/usr/share/chef-server-slice/app/controllers/application.rb:200:in `load_all_files'
/usr/lib/ruby/1.8/chef/cookbook_loader.rb:117:in `each'
/usr/lib/ruby/1.8/chef/cookbook_loader.rb:116:in `each_value'
/usr/lib/ruby/1.8/chef/cookbook_loader.rb:116:in `each'
Information for ftp://ftp.jaist.ac.jp/pub/OpenBSD/snapshots/packages/i386/screen-4.0.3p1.tgz
Comment:
multi-screen window manager
Description:
Screen is a full-screen window manager that multiplexes a physical
terminal between several processes (typically interactive shells).
Each virtual terminal provides the functions of a DEC VT100 terminal
and, in addition, several control functions from the ANSI X3.64 (ISO
$ ruby bin/ohai network//interfaces//em0//addresses//10.25.10.5
{
"broadcast": "10.25.10.255",
"netmask": "255.255.255.0",
"family": "inet"
}
#!/usr/bin/env ruby
compile '/feed/*' do
filter :erb
end
compile '*' do
filter :haml
layout 'default'
end
def attributes_print(a)
if a =~ /^(\w+)((\[:\w+\])+)/
field = "@data['#{$1}']" + $2
JSON.pretty_generate(eval(field))
else
JSON.pretty_generate(@data[a])
end
end
$ ruby bin/ohai "languages[:ruby]"
attribute: languages[:ruby]
{
"gems_dir": "\/usr\/local\/lib\/ruby\/gems\/1.8",
"target_os": "openbsd4.6",
"platform": "i386-openbsd4.6",
"host_vendor": "unknown",
"target_vendor": "unknown",
"target_cpu": "i386",
"host_os": "openbsd4.6",