Skip to content

Instantly share code, notes, and snippets.

View kisoku's full-sized avatar

Mathieu Sauve-Frankel kisoku

View GitHub Profile
[Sun, 22 Feb 2009 13:02:38 +0900] INFO: Loading plugin openbsd::network
{"127.0.0.1"=>{"netmask"=>"255.0.0.0", "family"=>"inet"}}
/home/msf/git/ohai/lib/ohai/plugins/openbsd/network.rb:54:in `from_file': undef
ned method `<<' for {"127.0.0.1"=>{"netmask"=>"255.0.0.0", "family"=>"inet"}}:M
sh (NoMethodError)
from /home/msf/git/ohai/lib/ohai/plugins/openbsd/network.rb:25:in `each
from /home/msf/git/ohai/lib/ohai/plugins/openbsd/network.rb:25:in `from
file'
from ./bin/../lib/ohai/mixin/command.rb:185:in `[]'
from ./bin/../lib/ohai/mixin/command.rb:185:in `popen4'
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin os
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin ruby
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin languages
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin kernel
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin command
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin ec2
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin hostname
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin openbsd::hostname
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin network
[Sun, 22 Feb 2009 15:22:54 +0900] INFO: Loading plugin openbsd::network
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin os
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin ruby
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin languages
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin kernel
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin command
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin ec2
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin hostname
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin openbsd::hostname
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin network
[Sun, 22 Feb 2009 15:25:15 +0900] INFO: Loading plugin openbsd::network
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin os
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin ruby
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin languages
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin kernel
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin command
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin ec2
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin hostname
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin openbsd::hostname
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin network
[Wed, 11 Mar 2009 13:43:17 +0900] INFO: Loading plugin openbsd::network
module Sass::Script
module Functions
def base_color
Sass::Script.parse($PICKER_BASE_COLOR, 1, 1, "PICKER_BASE_COLOR")
end
end
end
Index: ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.22
diff -u -p -r1.22 ruby.port.mk
--- ruby.port.mk 11 Aug 2009 07:27:30 -0000 1.22
+++ ruby.port.mk 11 Aug 2009 09:02:23 -0000
@@ -2,20 +2,21 @@
# ruby module
$ ack net_counters
darwin/network.rb
171:net_counters = Mash.new
179: net_counters[ifname] = Mash.new unless net_counters[ifname]
180: net_counters[ifname] = { :rx => { :bytes => $5, :packets => $3, :errors => $4, :drop => 0, :overrun => 0, :frame => 0, :compressed => 0, :multicast => 0 },
187:counters[:network][:interfaces] = net_counters
freebsd/network.rb
85:net_counters = Mash.new
97: net_counters[$1] = Mash.new unless net_counters[$1]
{
"keys": {
"ssh": {
"host_dsa_public": "AAAAB3NzaC1kc3MAAACBAI7qyCk+clLc1egOypRauMdwG82cv80g4K+MxHoePf4rpZp8xamPKIwEQQHvh3WSPUr\/1\/dWcS6bQ6Cx9JSs\/5c1UIbqlBpNF9kmcO3gFFgD0sKRo0QAqrrpn6YeL13SiiRpe\/+PLjfbO3tzcnBCdyhyIKUEVOghp38VPht2mAsvAAAAFQCLmnUwYJa0M+kONXYmSLFXxSUoVQAAAIBCt6HIfYNAZOTNnsNkZft1DY+8F22Dm4BmElBg9EAocD2+PWMQu7zVxP8izq8uta4TbzEKghebTs4rJmOMcDjSDdteHvYbQMqW8BRoFnFBCnqFFeECNS9rtDRqsBN\/tcgPzc0IBfsw86DXda0dvgcLR3UvaDtkve6yFS29YsiXEQAAAIAfImoyMAs51yRt9mYFi\/MlX+2V9EPc64Nr7WZSGUdCa\/E5oKFEYVc3lag8Dn39W5X9rfS97yJvj+h267BLt\/WNkRtpBZZ\/m0\/oGlLxKXfBbmNWYQpaIK+8S5qRl0i4jKGe7clnrPrX3kkzbSY0EtbUtJmm5rhf107dbSJzs4cLsw==",
"host_rsa_public": "AAAAB3NzaC1yc2EAAAABIwAAAIEA0USpOmc1Y7Gb6ackVj0mfSaV331NNtHShyiM1sf+nu6vMapKViE+Yv7t9w1C0RwzavnWQwT5H\/is9kdfuHWrqBYuEeKfK\/0eZp2QfmxWy\/U84jSQkwZ1OrRiZY1lMdvGBUwQU5Gj5NVFIipJxPzy6F2Y24PYHCDxSz6Gkq+5g20="
}
},
"dmi": {
"bios": {
"version": "6.00",
{
"dmi": {
"bios": {
"version": "1RETDRWW (3.23 )",
"vendor": "IBM",
"release_date": "06\/18\/2007"
},
"baseboard": {
"version": "Not Available",
"manufacturer": "IBM",
#
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net>
# 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