GithubHelp home page GithubHelp logo

chef / ohai Goto Github PK

View Code? Open in Web Editor NEW
678.0 85.0 453.0 7.89 MB

Ohai profiles your system and emits JSON

Home Page: https://docs.chef.io/ohai.html

License: Apache License 2.0

Ruby 99.96% Shell 0.04%
ohai ruby chef configuration-management configuration discovery hacktoberfest

ohai's Introduction

ohai

Build status Gem Version

Umbrella Project: Chef Infra

Project State: Active

Issues Response SLA: 10 business days

Pull Request Response SLA: 10 business days

Description

Ohai detects data about your operating system. It can be used standalone, but its primary purpose is to provide node data to Chef.

Ohai will print out a JSON data blob for all the known data about your system. When used with Chef, that data is reported back via node attributes.

Chef distributes ohai as a RubyGem. This README is for developers who want to modify the Ohai source code. For users who want to write plugins for Ohai, see the docs:

Development Environment

Ohai's development dependencies should be installed with bundler. Just run bundle install in the root of the repo.

Spec Testing

We use RSpec for unit/spec tests. To run the full suite, run:

bundle exec rake spec

You can run individual test files by running the rspec executable:

bundle exec rspec spec/unit/FILE.rb

Style

We use Chefstyle, as a code linter, to enforce style guidelines. To run:

bundle exec rake style

You can run and automatically correct the issues:

bundle exec rake style:auto_correct

Rake Tasks

Ohai has some Rake tasks for doing various things.

bundle exec rake -T
rake build               # Build ohai-$VERSION.gem into the pkg directory
rake clean               # Remove any temporary products
rake clobber             # Remove any generated files
rake install             # Build and install ohai-$VERSION.gem into system gems
rake install:local       # Build and install ohai-$VERSION.gem into system gems without network access
rake release[remote]     # Create tag $VERSION and build and push ohai-$VERSION.gem to rubygems.org
rake spec                # Run RSpec code examples
rake style               # Run Chefstyle tests
rake style:auto_correct  # Auto-correct RuboCop offenses

($VERSION is the current version, from the GemSpec in Rakefile)

Links

Source:

Issues:

Contributing

For information on contributing to this project see https://github.com/chef/chef/blob/main/CONTRIBUTING.md

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature' --signoff)
  4. Run the tests bundle exec rake spec
  5. Run the style tests bundle exec rake style
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

License

Ohai - system information application

  • Author:: Adam Jacob ([email protected])
  • Copyright:: Copyright (c) 2008-2021 Chef Software, 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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

ohai's People

Contributors

adamhjk avatar btm avatar chef-ci avatar chefsalim avatar coderanger avatar danielsdeleo avatar davide125 avatar dependabot[bot] avatar dougm avatar jaym avatar jaymzh avatar jkeiser avatar johnmccrae avatar juliandunn avatar kisoku avatar lamont-granquist avatar llaurent avatar marcparadise avatar mattray avatar mcquin avatar mdkent avatar mwrock avatar phiggins avatar prabhu-das avatar sawanoboly avatar schisamo avatar sh9189 avatar tas50 avatar thommay avatar yeoldegrove avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ohai's Issues

Intermittent Build Failures - Travis CI

Several pull requests have intermittent build failures attempting to output the results of Ohai.

There doesn't appear to be any difference in the PRs that build successfully and PRs that fail.

The error message is:
/home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:50:in raise_error_for_status': Invalid UTF-8 string: cannot encode to UTF-8 (FFI_Yajl::EncodeError) from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:inffi_yajl'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:in ffi_yajl' from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:inffi_yajl'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:in ffi_yajl' from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:inffi_yajl'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:in ffi_yajl' from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:indo_yajl_encode'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/ffi-yajl-1.4.0/lib/ffi_yajl/encoder.rb:21:in encode' from /home/travis/build/chef/ohai/lib/ohai/system.rb:181:injson_pretty_print'
from /home/travis/build/chef/ohai/lib/ohai/application.rb:97:in run_application' from /home/travis/build/chef/ohai/lib/ohai/application.rb:70:inrun'
from /home/travis/build/chef/ohai/bin/ohai:42:in <top (required)>' from /home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ohai:23:inload'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ohai:23:in <main>' from /home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:ineval'
from /home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `

'
The command "bundle exec ohai" exited with 1.

undefined method `to_json' for 24:IPAddress::Prefix32 (NoMethodError)

Failing on my Windows 8.1u1 development workstation @fd7b5a1f8b653af938642f354216523bd3e3e3b9

c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:178:in `ffi_yajl': undefined method `to_json' for 24:IPAddress::Prefix32 (NoMethodError)
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:58:in `block in ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `each'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:53:in `ffi_yajl'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/ffi/encoder.rb:28:in `do_yajl_encode'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-0.2.0/lib/ffi_yajl/encoder.rb:21:in `encode'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0.dev/lib/ohai/system.rb:183:in `json_pretty_print'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0.dev/lib/ohai/application.rb:97:in `run_application'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0.dev/lib/ohai/application.rb:70:in `run'
        from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0.dev/bin/ohai:42:in `<top (required)>'
        from c:/opscode/chef/bin/ohai:23:in `load'
        from c:/opscode/chef/bin/ohai:23:in `<main>'

Fails on OSX with fink-installed hostname

The coreutils version of hostname, installed by fink, doesn't take an '-s' flag:

coolhand$ /sw/bin/hostname --help
Usage: /sw/bin/hostname [NAME]
  or:  /sw/bin/hostname OPTION
Print or set the hostname of the current system.

      --help     display this help and exit
      --version  output version information and exit

Report bugs to <[email protected]>.

The BSD version of the command does.

I changed the last part of /usr/local/lib/ruby/gems/1.8/gems/opscode-ohai-0.1.2/lib/ohai/plugins/darwin/hostname.rb to read:

fqdn from("hostname")
begin
hostname from("hostname -s")
rescue
hostname fqdn.gsub(/..*/, "")
end

ohai report TUN interface as 'privateaddress'

This even when the TUN interface comes after the 'real' private NIC:

$ ifconfig 
eth0      Link encap:Ethernet  HWaddr 90:b8:d0:45:8a:f7  
          inet addr:37.153.97.138  Bcast:37.153.97.255  Mask:255.255.254.0
          inet6 addr: fe80::92b8:d0ff:fe45:8af7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53735 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:61487477 (61.4 MB)  TX bytes:3688564 (3.6 MB)

eth1      Link encap:Ethernet  HWaddr 90:b8:d0:7d:28:d1  
          inet addr:10.224.27.121  Bcast:10.224.27.255  Mask:255.255.252.0
          inet6 addr: fe80::92b8:d0ff:fe7d:28d1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:422 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24722 (24.7 KB)  TX bytes:852 (852.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1200 (1.2 KB)  TX bytes:1200 (1.2 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

$ ohai | grep privateaddress
  "privateaddress": "10.8.0.1",

Linux filesystems plugin report wrong fs-type for logical volumes

Hello,

I'm having this issue with Ohai 8.0.1 on Debian 7.
Affected hosts have LVM volumes on hardware RAID card.

lsblk (from util-linux 2.20.1) output is:

root@host:~# lsblk -r -n -o NAME,FSTYPE
sda 
sda1 ext4
sda6 LVM2_member
vg00-root (dm-0) ext4
vg00-var (dm-1) ext4

which is matched with /^(\S+) (\S+)/ thus giving this output:

root@host:~# ohai filesystem
  "/dev/mapper/vg00-root": {
[...]
    "fs_type": "(dm-0)",
    "mount_options": [
    ],
    "uuid": "(dm-0)",
    "label": "(dm-0)"
  }

Suggestion: change lsblk arguments:

root@host:~# lsblk -no NAME,FSTYPE -P       
NAME="sda" FSTYPE=""
NAME="sda1" FSTYPE="ext4"
NAME="sda6" FSTYPE="LVM2_member"
NAME="vg00-root (dm-0)" FSTYPE="ext4"

Thanks

ec2.rb fails for vpc instances

In lib/ohai/plugins/ec2.rb, has_ec2_mac? fails on vpc instances because their MAC addresses do not match the value specified.

GCE Plugin infinite loop

How to disable it with knife solo?
chef/chef#1756

/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:54:in `http_client'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:59:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:69:in `block in fetch_metadata'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `each'
/usr/lib/ruby/gems/1.9.1/gems/ohai-7.2.0/lib/ohai/mixin/gce_metadata.rb:68:in `fetch_metadata'

doesn't install in windows

currently in doze:

D:\dev\downloads\ohai>rake install
(in D:/dev/downloads/ohai)
mkdir -p pkg
WARNING: no rubyforge_project specified
WARNING: description and summary are identical
WARNING: deprecated autorequire specified
Successfully built RubyGem
Name: ohai
Version: 0.2.1
File: ohai-0.2.1.gem
mv ohai-0.2.1.gem pkg/ohai-0.2.1.gem
sudo gem install pkg/ohai-0.2.1
'sudo' is not recognized as an internal or external command,
operable program or batch file.
rake aborted!
Command failed with status (1): [sudo gem install pkg/ohai-0.2.1...]

though there are hopes of the OCI guys to get around this problem generically.
It does install to do
gem install pkg/ohai-0.2.1
by itself
so perhaps noting it in the readme would suffice.
Thanks!
-=r

Zend Engine and Zend OPcache versions should be exposed in PHP plugin

I'd like to add the Zend Engine version and Zend Opcache version to the PHP plugin. This data is really important for determining how you should template out the php.ini file and would be really helpful for anyone doing wordpress. Before I go and toss something together I'm curious what Chef folks think the best way to handle the output would be.

Here's the current output:
"php": {
"version": "5.5.14",
"builddate": "Sep 9 2014 19:09:25"
},

Zend Engine version string will be in every version of PHP, but OPcache is optional so a big part of exposing this data is allowing people to see if the key exists. Would something like this make sense?

"php": {
  "version": "5.5.14",
  "builddate": "Sep  9 2014 19:09:25",
  "zend_engine_version": "v2.5.0",
  "zend_opcache_version": "v7.0.3"
},

If opcache isn't present the key could be either nil or not present altogether.

Undefined Method to_json for 22:IPAddress::Prefix32

The behavior described in #356 appears to have returned following the removal of the monkey patch.

I'm trying to follow what happened - the fix to #356 added a monkey patch, then a few weeks later the monkey patch was removed and the JSON.parse was replaced with FFI_Yajl::Parser.parse, but it's not clear whether any tests were added to cover the original reported error in #356.

This is with a fresh install (I blew away c:\opscode and c:\chef before starting) of ChefDK 0.3.0 on Windows Server 2012:

PS C:\projects\chefdk-windows-bootstrap> ohai -l debug
[2014-10-09T23:34:17+00:00] DEBUG: Plugin Memory threw exception #<LoadError: cannot load such file -- sigar> C:/opscode
/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/sigar/memory.rb:23:in `block (2 levels) in <main>'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:98:in `run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:169:in `safe_run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:82:in `run_v7_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:43:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:94:in `block in run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `each'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:71:in `all_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:90:in `run_application'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:70:in `run'
C:/opscode/chefdk/embedded/apps/ohai/bin/ohai:42:in `<top (required)>'
C:/opscode/chefdk/bin/ohai:22:in `load'
C:/opscode/chefdk/bin/ohai:22:in `<main>'
[2014-10-09T23:34:19+00:00] DEBUG: Plugin NetworkRoutes threw exception #<LoadError: cannot load such file -- sigar> C:/
opscode/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/sigar/network_route.rb:42:in `block (2 levels) in <main>'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:98:in `run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:169:in `safe_run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:82:in `run_v7_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:43:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:94:in `block in run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `each'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:71:in `all_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:90:in `run_application'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:70:in `run'
C:/opscode/chefdk/embedded/apps/ohai/bin/ohai:42:in `<top (required)>'
C:/opscode/chefdk/bin/ohai:22:in `load'
C:/opscode/chefdk/bin/ohai:22:in `<main>'
[2014-10-09T23:34:19+00:00] DEBUG: Plugin NetworkListeners threw exception #<LoadError: cannot load such file -- sigar>
C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/network_listeners.rb:25:in `block (2 levels) in <main>'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:98:in `run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:169:in `safe_run'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:82:in `run_v7_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:43:in `run_plugin'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:94:in `block in run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `each'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `run_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:71:in `all_plugins'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:90:in `run_application'
C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:70:in `run'
C:/opscode/chefdk/embedded/apps/ohai/bin/ohai:42:in `<top (required)>'
C:/opscode/chefdk/bin/ohai:22:in `load'
C:/opscode/chefdk/bin/ohai:22:in `<main>'
[2014-10-09T23:34:19+00:00] DEBUG: [inet] Using default interface 0xf and default gateway 172.30.0.1 to set the default
ip to 172.30.0.130
[2014-10-09T23:34:19+00:00] DEBUG: [inet6] no default interface, picking the first ipaddress
[2014-10-09T23:34:19+00:00] DEBUG: No data to collect for plugin LSB. Continuing...
[2014-10-09T23:34:23+00:00] DEBUG: No data to collect for plugin Virtualization. Continuing...
[2014-10-09T23:34:23+00:00] DEBUG: No hints present for azure.
[2014-10-09T23:34:34+00:00] DEBUG: has_ec2_mac? == false
[2014-10-09T23:34:34+00:00] DEBUG: looks_like_ec2? == false
[2014-10-09T23:34:34+00:00] DEBUG: Plugin GCE threw #<SocketError: getaddrinfo: No such host is known. >
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/mixin/gce_metadata.rb:29:in `pack_socka
ddr_in'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/mixin/gce_metadata.rb:29:in `can_metada
ta_connect?'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/gce.rb:30:in `has_gce_metadata?
'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/gce.rb:39:in `looks_like_gce?'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/plugins/gce.rb:43:in `block (2 levels)
in <main>'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `instanc
e_eval'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plu
gin'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:98:in `run'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:82:in `run_v7_plugin'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/runner.rb:43:in `run_plugin'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:94:in `block in run_plugins'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `each'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:93:in `run_plugins'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/system.rb:71:in `all_plugins'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:90:in `run_application'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/lib/ohai/application.rb:70:in `run'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/embedded/apps/ohai/bin/ohai:42:in `<top (required)>'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/bin/ohai:22:in `load'
[2014-10-09T23:34:34+00:00] DEBUG: C:/opscode/chefdk/bin/ohai:22:in `<main>'
[2014-10-09T23:34:34+00:00] DEBUG: has_euca_mac? == false
[2014-10-09T23:34:34+00:00] DEBUG: has_euca_mac? == false
[2014-10-09T23:34:34+00:00] DEBUG: looks_like_euca? == false
[2014-10-09T23:34:34+00:00] DEBUG: NOT ohai openstack
[2014-10-09T23:34:34+00:00] DEBUG: unable to find 'cloudstack' hint. Won't connect to the metadata server.
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin PS. Continuing...
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin SystemProfile. Continuing...
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin InitPackage. Continuing...
[2014-10-09T23:34:34+00:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensio
ns
[2014-10-09T23:34:34+00:00] DEBUG: Failed to find sshd configuration file
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin BlockDevice. Continuing...
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin Mdadm. Continuing...
[2014-10-09T23:34:34+00:00] DEBUG: No data to collect for plugin Zpools. Continuing...
C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/ffi-yajl-1.1.0/lib/ffi_yajl/ffi/encoder.rb:204:in `ffi_yajl': undefi
ned method `to_json' for 22:IPAddress::Prefix32 (NoMethodError)
        from C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/ffi-yajl-1.1.0/lib/ffi_yajl/ffi/encoder.rb:57:in `block
 in ffi_yajl'
        from C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/ffi-yajl-1.1.0/lib/ffi_yajl/ffi/encoder.rb:52:in `each'

        from C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/ffi-yajl-1.1.0/lib/ffi_yajl/ffi/encoder.rb:52:in `ffi_y
ajl'

This is preventing me from using chef-client 11.6.4 with dsc_script, because that resource wants to confirm that I have powershell >= 4, and with ohai blowing up, it doesn't think I have any version of powershell installed, so it dies with the error "Powershell 4.0 or higher was not detected on your system and is required to use the dsc_script resource"

ruby config detection no longer works in ruby version 2.2

Using ::Config for detecting the various config settings which are populated into node[:languages][:ruby] has been deprecated since 1.9.3. In ruby 2.2.0, this has been removed. The recommended way is to use RbConfig, which works.

ruby -e "require 'rbconfig'; puts %Q(bindir=#{::Config::CONFIG['bindir']})"
-e:1:in `<main>': uninitialized constant Config (NameError)

ruby -e "require 'rbconfig'; puts %Q(bindir=#{::RbConfig::CONFIG['bindir']})"
bindir=/Users/warrenbain/.rbenv/versions/2.2.0/bin

Invalid pid, name used after sigar fails to throw exception

Filed a bug with sigar (hyperic/sigar#48), but observed this through chef/ohai, so it is susceptible to it now and can be worked around.

The rescue call in lib/ohai/plugins/network_listeners.rb is insufficient to prevent invalid pids from being used. After sigar throws an exception for a single 0 pid (its invalid pid return) call to proc_state, all subsequent proc_state calls within the same sigar context do not throw. This can be worked around until they correct this behavior by throwing on pid == 0:

begin
  pid = sigar.proc_port(conn.type, port)
  throw ArgumentError.new("No such process") if pid == 0
  listeners[port][:pid] = pid
  listeners[port][:name] = sigar.proc_state(pid).name
rescue
end

Ohai detects server inside gce under specific conditions

Version:

7.2.4

Environment

Debian Squeeze and Wheezy under EC2 cloud

Scenario:

In a EC2 cloud, fter Ohai sets automatic attributes in a chef run, cloud attribute contains empty values in IP fields:

chef > node['cloud']
 => {"public_ips"=>[], "private_ips"=>[], "public_ipv4"=>[], "local_ipv4"=>[]}

Also debug cloud plugin output:

...
DEBUG: can_metadata_connect? == true
DEBUG: looks_like_gce? == true
...
DEBUG: has_ec2_mac? == true
DEBUG: can_metadata_connect? == true
DEBUG: looks_like_ec2? == true
DEBUG: EC2 shows unsupported metadata version: 2014-02-25
DEBUG: EC2 metadata version: 2012-01-12
DEBUG: EC2 shows unsupported metadata version: 2014-02-25
DEBUG: EC2 metadata version: 2012-01-12
...
DEBUG: Plugin CloudV2 threw #<NoMethodError: undefined method `[]' for nil:NilClass>
DEBUG: .../ohai-7.2.4/lib/ohai/plugins/cloud_v2.rb:125:in `get_gce_values'
DEBUG: .../ohai-7.2.4/lib/ohai/plugins/cloud_v2.rb:278:in `block (2 levels) in <main>'
DEBUG: .../ohai-7.2.4/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
DEBUG: .../ohai-7.2.4/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
DEBUG: .../ohai-7.2.4/lib/ohai/dsl/plugin.rb:98:in `run'
DEBUG: .../ohai-7.2.4/lib/ohai/dsl/plugin.rb:169:in `safe_run'
DEBUG: .../ohai-7.2.4/lib/ohai/runner.rb:82:in `run_v7_plugin'
DEBUG: .../ohai-7.2.4/lib/ohai/runner.rb:43:in `run_plugin'
DEBUG: .../ohai-7.2.4/lib/ohai/system.rb:96:in `block inrun_plugins'
DEBUG: .../ohai-7.2.4/lib/ohai/system.rb:95:in `each'
DEBUG: .../ohai-7.2.4/lib/ohai/system.rb:95:in `run_plugins'
DEBUG: .../ohai-7.2.4/lib/ohai/system.rb:73:in `all_plugins'
DEBUG: .../chef-11.14.6/lib/chef/client.rb:292:in `run_ohai'
DEBUG: .../chef-11.14.6/lib/chef/shell/shell_session.rb:155:in `rebuild_node'
DEBUG: .../chef-11.14.6/lib/chef/shell/shell_session.rb:55:in `block in reset!'
DEBUG: .../chef-11.14.6/lib/chef/shell/shell_session.rb:101:in `loading'
DEBUG: .../chef-11.14.6/lib/chef/shell/shell_session.rb:54:in `reset!'
DEBUG: .../chef-11.14.6/lib/chef/shell.rb:127:in `session'
DEBUG: .../chef-11.14.6/lib/chef/shell.rb:136:in `init'
DEBUG: .../chef-11.14.6/lib/chef/shell.rb:64:in `start'
DEBUG: .../chef-11.14.6/bin/chef-shell:37:in `<top (required)>'
DEBUG: .../bin/chef-shell:23:in `load'
DEBUG: .../bin/chef-shell:23:in `<main>'
DEBUG: ip_scopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensions
DEBUG: Plugin Cloud threw #<NoMethodError: undefined method `[]' for nil:NilClass>
DEBUG: .../gems/ohai-7.2.4/lib/ohai/plugins/cloud.rb:53:in `get_gce_values'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/plugins/cloud.rb:222:in `block (2 levels) in <main>'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/dsl/plugin.rb:98:in `run'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/dsl/plugin.rb:169:in `safe_run'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/runner.rb:82:in `run_v7_plugin'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/runner.rb:43:in `run_plugin'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/system.rb:96:in `block in run_plugins'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/system.rb:95:in `each'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/system.rb:95:in `run_plugins'
DEBUG: .../gems/ohai-7.2.4/lib/ohai/system.rb:73:in `all_plugins'
DEBUG: .../gems/chef-11.14.6/lib/chef/client.rb:292:in `run_ohai'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell/shell_session.rb:155:in `rebuild_node'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell/shell_session.rb:55:in `block in reset!'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell/shell_session.rb:101:in `loading'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell/shell_session.rb:54:in `reset!'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell.rb:127:in `session'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell.rb:136:in `init'
DEBUG: .../gems/chef-11.14.6/lib/chef/shell.rb:64:in `start'
DEBUG: .../gems/chef-11.14.6/bin/chef-shell:37:in `<top (required)>'
DEBUG: .../bin/chef-shell:23:in `load'
DEBUG: .../bin/chef-shell:23:in `<main>'...

This is due gce_metadata mixin is connecting to a host without the trailing dot when trying to discover if exists or not.

Steps to Reproduce:

  • Create a resolv.conf with a search including a domain search like wadus.domain.com
  • Create a wildcard DNS record *.wadus.domain.com pointing so a server that has port 80 opened and reachable from the instance.
  • Run a chef-client or chef-shell

Expected Result:

chef > node['cloud']
 => {"public_ips"=>["54.87.155.167"], "private_ips"=>["10.102.167.230"], "public_ipv4"=>"54.87.155.167", "public_hostname"=>"ec2-54-87-155-167.compute-1.amazonaws.com", "local_ip
v4"=>"10.102.167.230", "local_hostname"=>"ip-10-102-167-230.ec2.internal", "provider"=>"ec2"}

Actual Result:

In a chef-shell ip fields are not populated:

chef > node['cloud']
 => {"public_ips"=>[], "private_ips"=>[], "public_ipv4"=>[], "local_ipv4"=>[]}

Platform version is missing on archlinux platform

When running ohai, on archlinux, platform_version is not filled.

This comes from archlinux having no "version" per se since it is a rolling release distro.
https://github.com/opscode/ohai/blob/7-stable/lib/ohai/plugins/linux/platform.rb#L84 makes it clear.

Hovewer, the comment on https://github.com/opscode/ohai/blob/7-stable/lib/ohai/plugins/linux/platform.rb#L85 suggests we could use the kernel version instead.

(ps: having no platform version makes chef test crash)

cloud_v2 fails to initialize on GCE hosts without external IP

On private hosts without an external IP address, ohai fails to initialize cloud_v2 with:

[2014-10-18T19:34:36+00:00] DEBUG: Plugin CloudV2 threw #<RuntimeError: ERROR: the ohai 'cloud' plugin failed with an IP address of '' : invalid address>

This appears to be caused by an empty externalIp in gce['networkInterfaces']:

"networkInterfaces": [
   {
     "accessConfigs": [
       {
         "externalIp": "",
         "type": "ONE_TO_ONE_NAT"
       }
     ],
     "forwardedIps": [

     ],
     "ip": "10.129.60.194",
     "network": "projects/000000000000/networks/default"
   }
 ],

Full debug output:

[2014-10-18T19:34:36+00:00] DEBUG: Parsing default via 10.129.0.1 dev eth0
[2014-10-18T19:34:36+00:00] DEBUG: Parsing default via 10.129.0.1 dev eth0  metric 100
[2014-10-18T19:34:36+00:00] DEBUG: Parsing 10.129.0.1 dev eth0  scope link
[2014-10-18T19:34:36+00:00] DEBUG: default_interface set to eth0
[2014-10-18T19:34:36+00:00] DEBUG: default_gateway set to 10.129.0.1
[2014-10-18T19:34:36+00:00] DEBUG: Unable to determine default inet6 interface
[2014-10-18T19:34:36+00:00] DEBUG: has_ec2_mac? == false
[2014-10-18T19:34:36+00:00] DEBUG: looks_like_ec2? == false
[2014-10-18T19:34:36+00:00] DEBUG: looks_like_gce? == true
[2014-10-18T19:34:36+00:00] DEBUG: has_euca_mac? == false
[2014-10-18T19:34:36+00:00] DEBUG: has_euca_mac? == false
[2014-10-18T19:34:36+00:00] DEBUG: has_euca_mac? == false
[2014-10-18T19:34:36+00:00] DEBUG: looks_like_euca? == false
[2014-10-18T19:34:36+00:00] DEBUG: NOT ohai openstack
[2014-10-18T19:34:36+00:00] DEBUG: No hints present for azure.
[2014-10-18T19:34:36+00:00] DEBUG: Plugin CloudV2 threw #<RuntimeError: ERROR: the ohai 'cloud' plugin failed with an IP address of '' : invalid address>
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:109:in `rescue in validate_ip_addr'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:105:in `validate_ip_addr'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:54:in `add_ipv4_addr'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:135:in `block in get_gce_values'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:135:in `each'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:135:in `get_gce_values'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/plugins/cloud_v2.rb:278:in `block (2 levels) in <main>'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/dsl/plugin.rb:98:in `run'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/dsl/plugin.rb:169:in `safe_run'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/runner.rb:82:in `run_v7_plugin'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/runner.rb:43:in `run_plugin'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:96:in `block in run_plugins'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:95:in `each'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:95:in `run_plugins'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:73:in `all_plugins'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:90:in `run_application'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:70:in `run'
[2014-10-18T19:34:36+00:00] DEBUG: /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/bin/ohai:42:in `<top (required)>'
[2014-10-18T19:34:36+00:00] DEBUG: /usr/bin/ohai:23:in `load'
[2014-10-18T19:34:36+00:00] DEBUG: /usr/bin/ohai:23:in `<main>'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:191:in `attributes_print': I cannot find an attribute named cloud_v2! (ArgumentError)
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:94:in `block in run_application'
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:93:in `each'
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:93:in `run_application'
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:70:in `run'
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/bin/ohai:42:in `<top (required)>'
    from /usr/bin/ohai:23:in `load'
    from /usr/bin/ohai:23:in `<main>'

sudo ohai reports root as current_user instead of the value of SUDO_USER

This behavior appears to have changed in fec9467. Unfortunately the change breaks nearly all the recipes in Pivotal Sprout, which is normally run with sudo on OS X.

Was this change intentional?

Previously:

ruby 2.0.0p481 (system) ~
○ → ohai --version
Ohai: 7.4.0

ruby 2.0.0p481 (system) ~
○ → sudo ohai | grep current_user
  "current_user": "hiremaga",

Now:

ruby 2.0.0p481 (system) ~
○ → ohai --version
Ohai: 8.0.1

ruby 2.0.0p481 (system) ~
○ → sudo ohai | grep current_user
  "current_user": "root",

ohai doesn't recognize cloud metadata in aws ap-southeast

I have two machines, one is located in Irland another in Australia.

The machine in Irland shows cloud metadata in ohai:

ubuntu@ip-10-96-26-245:~$ ec2metadata 
ami-id: ami-5a4bfb2d
ami-launch-index: 0
ami-manifest-path: ubuntu-eu-west-1/images/ubuntu-trusty-14.04-amd64-server-20141125.manifest.xml
ancestor-ami-ids: unavailable
availability-zone: eu-west-1b
block-device-mapping: ami
ephemeral0
root
instance-action: none
instance-id: i-59c710bd
instance-type: m3.medium
local-hostname: ip-10-96-26-245.eu-west-1.compute.internal
local-ipv4: 10.96.26.245
kernel-id: aki-52a34525
mac: unavailable
profile: default-paravirtual
product-codes: unavailable
public-hostname: ec2-54-75-120-151.eu-west-1.compute.amazonaws.com
public-ipv4: 54.75.120.151
public-keys: ['ssh-rsa xxx']
ramdisk-id: unavailable
reserveration-id: unavailable
security-groups: web-elb
user-data: unavailable

ubuntu@ip-10-96-26-245:~$ ohai cloud_v2
{
  "public_ipv4_addrs": [
    "54.75.120.151"
  ],
  "local_ipv4_addrs": [
    "10.96.26.245"
  ],
  "provider": "ec2",
  "public_hostname": "ec2-54-75-120-151.eu-west-1.compute.amazonaws.com",
  "local_hostname": "ip-10-96-26-245.eu-west-1.compute.internal",
  "public_ipv4": "54.75.120.151",
  "local_ipv4": "10.96.26.245"
}

The machine in Australia doesn't show any metadata in ohai:

ubuntu@ip-172-31-11-169:~$ ec2metadata 
ami-id: ami-970b62ad
ami-launch-index: 0
ami-manifest-path: (unknown)
ancestor-ami-ids: unavailable
availability-zone: ap-southeast-2b
block-device-mapping: ami
ephemeral0
root
instance-action: none
instance-id: i-1a8fced5
instance-type: t1.micro
local-hostname: ip-172-31-11-169.ap-southeast-2.compute.internal
local-ipv4: 172.31.11.169
kernel-id: aki-c362fff9
mac: unavailable
profile: default-paravirtual
product-codes: unavailable
public-hostname: ec2-54-66-147-213.ap-southeast-2.compute.amazonaws.com
public-ipv4: 54.66.147.213
public-keys: ['ssh-rsa xxx']
ramdisk-id: unavailable
reserveration-id: unavailable
security-groups: web-elb
user-data: unavailable

ubuntu@ip-172-31-11-169:~$ ohai  cloud_v2
/opt/chef/embedded/apps/ohai/lib/ohai/system.rb:189:in `attributes_print': I cannot find an attribute named cloud_v2! (ArgumentError)
    from /opt/chef/embedded/apps/ohai/lib/ohai/application.rb:94:in `block in run_application'
    from /opt/chef/embedded/apps/ohai/lib/ohai/application.rb:93:in `each'
    from /opt/chef/embedded/apps/ohai/lib/ohai/application.rb:93:in `run_application'
    from /opt/chef/embedded/apps/ohai/lib/ohai/application.rb:70:in `run'
    from /opt/chef/embedded/apps/ohai/bin/ohai:42:in `<top (required)>'
    from /usr/bin/ohai:23:in `load'
    from /usr/bin/ohai:23:in `<main>'

dmi processor all_records contains system slot information

I’ve tried this on a few different hardware sets with version 8.0.1 and 7.4.1, the dmi attributes for processor seem to somehow include system slot information.

I’d expect the second block to be CPU 2, instead it has not specifed/x16 PCI Express 3

    "processor": {
      "all_records": [
        {
          "record_id": "0x0400",
          "size": "4",
          "application_identifier": "Processor Information",
          "Socket Designation": "CPU1",
          "Type": "Central Processor",
          "Family": "Xeon",
          "Manufacturer": "Intel",
          "ID": "D7 06 02 00 FF FB EB BF",
          "Signature": "Type 0, Family 6, Model 45, Stepping 7",
          "Flags": {
            "FPU (Floating-point unit on-chip)": null,
            "VME (Virtual mode extension)": null,
            "DE (Debugging extension)": null,
            "PSE (Page size extension)": null,
            "TSC (Time stamp counter)": null,
            "MSR (Model specific registers)": null,
            "PAE (Physical address extension)": null,
            "MCE (Machine check exception)": null,
            "CX8 (CMPXCHG8 instruction supported)": null,
            "APIC (On-chip APIC hardware supported)": null,
            "SEP (Fast system call)": null,
            "MTRR (Memory type range registers)": null,
            "PGE (Page global enable)": null,
            "MCA (Machine check architecture)": null,
            "CMOV (Conditional move instruction supported)": null,
            "PAT (Page attribute table)": null,
            "PSE-36 (36-bit page size extension)": null,
            "CLFSH (CLFLUSH instruction supported)": null,
            "DS (Debug store)": null,
            "ACPI (ACPI supported)": null,
            "MMX (MMX technology supported)": null,
            "FXSR (FXSAVE and FXSTOR instructions supported)": null,
            "SSE (Streaming SIMD extensions)": null,
            "SSE2 (Streaming SIMD extensions 2)": null,
            "SS (Self-snoop)": null,
            "HTT (Multi-threading)": null,
            "TM (Thermal monitor supported)": null,
            "PBE (Pending break enabled)": null
          },
          "Version": "       Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz",
          "Voltage": "1.2 V",
          "External Clock": "8000 MHz",
          "Max Speed": "3600 MHz",
          "Current Speed": "2900 MHz",
          "Status": "Populated, Enabled",
          "Upgrade": "Socket LGA2011",
          "L1 Cache Handle": "0x0700",
          "L2 Cache Handle": "0x0701",
          "L3 Cache Handle": "0x0702",
          "Serial Number": "Not Specified",
          "Asset Tag": "Not Specified",
          "Part Number": "Not Specified",
          "Core Count": "8",
          "Core Enabled": "8",
          "Thread Count": "16",
          "Characteristics": {
            "64-bit capable": null,
            "Multi-Core": null,
            "Hardware Thread": null,
            "Execute Protection": null,
            "Enhanced Virtualization": null,
            "Power/Performance Control": null
          }
        },
        {
          "record_id": "0x0401",
          "size": "4",
          "application_identifier": "Inactive",
          "Socket Designation": "Not Specified",
          "Type": "x16 PCI Express 3",
          "Family": "Xeon",
          "Manufacturer": "Intel",
          "ID": "D7 06 02 00 FF FB EB BF",
          "Signature": "Type 0, Family 6, Model 45, Stepping 7",
          "Flags": {
            "FPU (Floating-point unit on-chip)": null,
            "VME (Virtual mode extension)": null,
            "DE (Debugging extension)": null,
            "PSE (Page size extension)": null,
            "TSC (Time stamp counter)": null,
            "MSR (Model specific registers)": null,
            "PAE (Physical address extension)": null,
            "MCE (Machine check exception)": null,
            "CX8 (CMPXCHG8 instruction supported)": null,
            "APIC (On-chip APIC hardware supported)": null,
            "SEP (Fast system call)": null,
            "MTRR (Memory type range registers)": null,
            "PGE (Page global enable)": null,
            "MCA (Machine check architecture)": null,
            "CMOV (Conditional move instruction supported)": null,
            "PAT (Page attribute table)": null,
            "PSE-36 (36-bit page size extension)": null,
            "CLFSH (CLFLUSH instruction supported)": null,
            "DS (Debug store)": null,
            "ACPI (ACPI supported)": null,
            "MMX (MMX technology supported)": null,
            "FXSR (FXSAVE and FXSTOR instructions supported)": null,
            "SSE (Streaming SIMD extensions)": null,
            "SSE2 (Streaming SIMD extensions 2)": null,
            "SS (Self-snoop)": null,
            "HTT (Multi-threading)": null,
            "TM (Thermal monitor supported)": null,
            "PBE (Pending break enabled)": null
          },
          "Version": "       Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz",
          "Voltage": "1.2 V",
          "External Clock": "8000 MHz",
          "Max Speed": "3600 MHz",
          "Current Speed": "2900 MHz",
          "Status": "Populated, Idle",
          "Upgrade": "Socket LGA2011",
          "L1 Cache Handle": "0x0703",
          "L2 Cache Handle": "0x0704",
          "L3 Cache Handle": "0x0705",
          "Serial Number": "Not Specified",
          "Asset Tag": "Not Specified",
          "Part Number": "Not Specified",
          "Core Count": "8",
          "Core Enabled": "8",
          "Thread Count": "16",
          "Characteristics": {
            "3.3 V is provided": null,
            "PME signal is supported": null
          },
          "Configuration": "Enabled, Not Socketed, Level 3",
          "Operational Mode": "Write Back",
          "Location": "Internal",
          "Installed Size": "20480 kB",
          "Maximum Size": "20480 kB",
          "Supported SRAM Types": {
            "Unknown": null
          },
          "Installed SRAM Type": "Unknown",
          "Speed": "Unknown",
          "Error Correction Type": "Single-bit ECC",
          "System Type": "Unified",
          "Associativity": "20-way Set-associative",
          "Internal Reference Designator": "Not Specified",
          "Internal Connector Type": "None",
          "External Reference Designator": "Not Specified",
          "External Connector Type": "DB-9 male",
          "Port Type": "Serial Port 16550A Compatible",
          "Designation": "PCI6",
          "Current Usage": "Available",
          "Length": "Long",
          "Bus Address": "0000:42:00.0"
        }
      ],
      "family": "Xeon",
      "manufacturer": "Intel",
      "id": "D7 06 02 00 FF FB EB BF",
      "signature": "Type 0, Family 6, Model 45, Stepping 7",
      "version": "       Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz",
      "voltage": "1.2 V",
      "external_clock": "8000 MHz",
      "max_speed": "3600 MHz",
      "current_speed": "2900 MHz",
      "upgrade": "Socket LGA2011",
      "serial_number": "Not Specified",
      "asset_tag": "Not Specified",
      "part_number": "Not Specified",
      "core_count": "8",
      "core_enabled": "8",
      "thread_count": "16",
      "configuration": "Enabled, Not Socketed, Level 3",
      "operational_mode": "Write Back",
      "location": "Internal",
      "installed_size": "20480 kB",
      "maximum_size": "20480 kB",
      "installed_sram_type": "Unknown",
      "speed": "Unknown",
      "error_correction_type": "Single-bit ECC",
      "system_type": "Unified",
      "associativity": "20-way Set-associative",
      "internal_reference_designator": "Not Specified",
      "internal_connector_type": "None",
      "external_reference_designator": "Not Specified",
      "external_connector_type": "DB-9 male",
      "port_type": "Serial Port 16550A Compatible",
      "designation": "PCI6",
      "current_usage": "Available",
      "length": "Long",
      "bus_address": "0000:42:00.0"
    },

Need new attribute target_architecture and plugin to set it

Reference discussion chef/omnibus#352

There is need for an attribute to contain the target architecture for compiling/packaging in Omnibus.

This is due to confusion in Ominibus when building/packaging on/for Raspbian and Pidora (Raspberry Pi). uname -m yields "armv6l", Raspbian needs "armhf" and Pidora needs "armv6hl".

Other special cases may arise, but these are the first so far. The feeling was that the logic to work this out was best placed in Ohai.

Is the name "target_architecture" OK, and should I place this as a top level attribute or should it be nested somewhere else and if so where?

AIX: always use "netstat -rn" rather than "route" to get network information

On AIX, "route" is a privileged command, which means normal users cannot run it. Because we use that to get network information, any invocations of Ohai as non-root will cause Ohai not to return any data and also display a warning that macaddress and ipaddress could not be detected.

Chef internal kanban: AIX-48

Segmentation fault when using Ohai 7.2 with Chef 10.22

To reproduce, install chef 10.22 with the latest ohai 7.2. Tested on ubuntu 12.04 and Amazon Linux 2014.3.

curl -s -L https://www.opscode.com/chef/install.sh -o /tmp/chef_install.sh
bash /tmp/chef_install.sh -v 10.22.0
gem install ohai -v '= 7.2'

Run 'chef-client' and you'll get a segmentation fault like this:

INFO: *** Chef 10.22.0 ***
INFO: Run List is [role[XXX]]
INFO: Run List expands to [users, XXX]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:160: [BUG] Segmentation fault
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0033 p:---- s:0147 b:0147 l:000146 d:000146 CFUNC  :yajl_gen_string
c:0032 p:0042 s:0141 b:0141 l:000140 d:000140 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:160
c:0031 p:0033 s:0134 b:0134 l:000124 d:000133 BLOCK  /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:55
c:0030 p:---- s:0130 b:0130 l:000129 d:000129 FINISH
c:0029 p:---- s:0128 b:0128 l:000127 d:000127 CFUNC  :each
c:0028 p:0060 s:0125 b:0125 l:000124 d:000124 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:52
c:0027 p:0156 s:0119 b:0119 l:000118 d:000118 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:27
c:0026 p:0144 s:0105 b:0105 l:000104 d:000104 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/encoder.rb:21
c:0025 p:0021 s:0099 b:0099 l:000098 d:000098 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/encoder.rb:27
c:0024 p:0022 s:0094 b:0094 l:000093 d:000093 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/json_gem.rb:64
c:0023 p:0024 s:0089 b:0089 l:000088 d:000088 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/json_compat.rb:102
c:0022 p:0033 s:0084 b:0084 l:000083 d:000083 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/rest.rb:245
c:0021 p:0030 s:0076 b:0076 l:000075 d:000075 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/rest.rb:151
c:0020 p:0060 s:0070 b:0070 l:000069 d:000069 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/resource_reporter.rb:113
c:0019 p:0014 s:0060 b:0060 l:000051 d:000059 BLOCK  /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/event_dispatch/dispatcher.rb:29
c:0018 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0017 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC  :each
c:0016 p:0013 s:0052 b:0052 l:000051 d:000051 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/event_dispatch/dispatcher.rb:29
c:0015 p:0427 s:0048 b:0048 l:000047 d:000047 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:280
c:0014 p:0147 s:0045 b:0045 l:000044 d:000044 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:412
c:0013 p:0181 s:0039 b:0039 l:000038 d:000038 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:176
c:0012 p:0057 s:0034 b:0034 l:000033 d:000033 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application.rb:140
c:0011 p:0094 s:0031 b:0031 l:000c88 d:000030 BLOCK  /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application/client.rb:274
c:0010 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
c:0009 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC  :loop
c:0008 p:0152 s:0022 b:0022 l:000c88 d:000c88 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application/client.rb:267
c:0007 p:0031 s:0019 b:0019 l:000018 d:000018 METHOD /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application.rb:72
c:0006 p:0104 s:0016 b:0016 l:000015 d:000015 TOP    /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/bin/chef-client:26
c:0005 p:---- s:0014 b:0014 l:000013 d:000013 FINISH
c:0004 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC  :load
c:0003 p:0167 s:0008 b:0008 l:000b68 d:001d68 EVAL   /usr/bin/chef-client:23
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000b68 d:000b68 TOP   

-- Ruby level backtrace information ----------------------------------------
/usr/bin/chef-client:23:in `<main>'
/usr/bin/chef-client:23:in `load'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/bin/chef-client:26:in `<top (required)>'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application.rb:72:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application/client.rb:267:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application/client.rb:267:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application/client.rb:274:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/application.rb:140:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:176:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:412:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/client.rb:280:in `build_node'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/event_dispatch/dispatcher.rb:29:in `node_load_completed'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/event_dispatch/dispatcher.rb:29:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/event_dispatch/dispatcher.rb:29:in `block in node_load_completed'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/resource_reporter.rb:113:in `node_load_completed'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/rest.rb:151:in `post_rest'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/rest.rb:245:in `api_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.22.0/lib/chef/json_compat.rb:102:in `to_json'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/json_gem.rb:64:in `to_json'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/encoder.rb:27:in `encode'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/encoder.rb:21:in `encode'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:27:in `do_yajl_encode'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:52:in `ffi_yajl'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:52:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:55:in `block in ffi_yajl'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:160:in `ffi_yajl'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.0.2/lib/ffi_yajl/ffi/encoder.rb:160:in `yajl_gen_string'

-- C level backtrace information -------------------------------------------
/opt/chef/embedded/lib/libruby.so.1.9(+0x19b991) [0x7f5ae2c81991]
/opt/chef/embedded/lib/libruby.so.1.9(+0x5ac16) [0x7f5ae2b40c16]
/opt/chef/embedded/lib/libruby.so.1.9(rb_bug+0x10d) [0x7f5ae2b40d45]
/opt/chef/embedded/lib/libruby.so.1.9(+0x11bde4) [0x7f5ae2c01de4]
/lib64/libpthread.so.0(+0xf5b0) [0x7f5ae28d95b0]
/lib64/libc.so.6(+0x1357c5) [0x7f5ae1d1a7c5]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/yajl-ruby-1.1.0/lib/yajl/yajl.so(yajl_buf_append+0x76) [0x7f5ad8ae831b]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/yajl-ruby-1.1.0/lib/yajl/yajl.so(yajl_string_encode2+0x192) [0x7f5ad8ae7c20]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/yajl-ruby-1.1.0/lib/yajl/yajl.so(yajl_string_encode+0x3a) [0x7f5ad8ae7a87]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/libyajl2-1.0.1/lib/libyajl2/vendored-libyajl2/lib/libyajl.so(yajl_gen_string+0xd7) [0x7f5ad765b6b7]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/lib/ffi_c.so(ffi_call_unix64+0x4c) [0x7f5ad7a93c14] /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/ffi64.c:633
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/lib/ffi_c.so(ffi_call+0x420) [0x7f5ad7a935fb] /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/ffi64.c:486
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/lib/ffi_c.so(rbffi_CallFunction+0x3ac) [0x7f5ad7a877c3]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ffi-1.9.3/lib/ffi_c.so(+0x14267) [0x7f5ad7a8a267]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184033) [0x7f5ae2c6a033]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184972) [0x7f5ae2c6a972]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18504e) [0x7f5ae2c6b04e]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18aaad) [0x7f5ae2c70aad]
/opt/chef/embedded/lib/libruby.so.1.9(+0x198187) [0x7f5ae2c7e187]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196a99) [0x7f5ae2c7ca99]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196bca) [0x7f5ae2c7cbca]
/opt/chef/embedded/lib/libruby.so.1.9(+0x193247) [0x7f5ae2c79247]
/opt/chef/embedded/lib/libruby.so.1.9(rb_yield+0x38) [0x7f5ae2c79281]
/opt/chef/embedded/lib/libruby.so.1.9(+0x7a2bd) [0x7f5ae2b602bd]
/opt/chef/embedded/lib/libruby.so.1.9(+0x78581) [0x7f5ae2b5e581]
/opt/chef/embedded/lib/libruby.so.1.9(st_foreach+0x348) [0x7f5ae2c0c217]
/opt/chef/embedded/lib/libruby.so.1.9(+0x78728) [0x7f5ae2b5e728]
/opt/chef/embedded/lib/libruby.so.1.9(rb_ensure+0x9a) [0x7f5ae2b46fe2]
/opt/chef/embedded/lib/libruby.so.1.9(rb_hash_foreach+0x68) [0x7f5ae2b5e7b9]
/opt/chef/embedded/lib/libruby.so.1.9(+0x7a320) [0x7f5ae2b60320]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18404a) [0x7f5ae2c6a04a]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184972) [0x7f5ae2c6a972]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18504e) [0x7f5ae2c6b04e]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18aaad) [0x7f5ae2c70aad]
/opt/chef/embedded/lib/libruby.so.1.9(+0x198187) [0x7f5ae2c7e187]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196a99) [0x7f5ae2c7ca99]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196bca) [0x7f5ae2c7cbca]
/opt/chef/embedded/lib/libruby.so.1.9(+0x193247) [0x7f5ae2c79247]
/opt/chef/embedded/lib/libruby.so.1.9(rb_yield+0x38) [0x7f5ae2c79281]
/opt/chef/embedded/lib/libruby.so.1.9(rb_ary_each+0x8c) [0x7f5ae2b15f6d]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18404a) [0x7f5ae2c6a04a]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184972) [0x7f5ae2c6a972]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18504e) [0x7f5ae2c6b04e]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18aaad) [0x7f5ae2c70aad]
/opt/chef/embedded/lib/libruby.so.1.9(+0x198187) [0x7f5ae2c7e187]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196a99) [0x7f5ae2c7ca99]
/opt/chef/embedded/lib/libruby.so.1.9(+0x196bca) [0x7f5ae2c7cbca]
/opt/chef/embedded/lib/libruby.so.1.9(+0x193247) [0x7f5ae2c79247]
/opt/chef/embedded/lib/libruby.so.1.9(+0x193517) [0x7f5ae2c79517]
/opt/chef/embedded/lib/libruby.so.1.9(rb_rescue2+0x12b) [0x7f5ae2b46afe]
/opt/chef/embedded/lib/libruby.so.1.9(+0x193590) [0x7f5ae2c79590]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18404a) [0x7f5ae2c6a04a]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184972) [0x7f5ae2c6a972]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18504e) [0x7f5ae2c6b04e]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18aaad) [0x7f5ae2c70aad]
/opt/chef/embedded/lib/libruby.so.1.9(+0x198187) [0x7f5ae2c7e187]
/opt/chef/embedded/lib/libruby.so.1.9(rb_iseq_eval+0x36) [0x7f5ae2c7eb9a]
/opt/chef/embedded/lib/libruby.so.1.9(+0x62b26) [0x7f5ae2b48b26]
/opt/chef/embedded/lib/libruby.so.1.9(+0x62dc0) [0x7f5ae2b48dc0]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184033) [0x7f5ae2c6a033]
/opt/chef/embedded/lib/libruby.so.1.9(+0x184972) [0x7f5ae2c6a972]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18504e) [0x7f5ae2c6b04e]
/opt/chef/embedded/lib/libruby.so.1.9(+0x18aaad) [0x7f5ae2c70aad]
/opt/chef/embedded/lib/libruby.so.1.9(+0x198187) [0x7f5ae2c7e187]
/opt/chef/embedded/lib/libruby.so.1.9(rb_iseq_eval_main+0x36) [0x7f5ae2c7ebe2]
/opt/chef/embedded/lib/libruby.so.1.9(+0x5fc59) [0x7f5ae2b45c59]
/opt/chef/embedded/lib/libruby.so.1.9(ruby_exec_node+0x24) [0x7f5ae2b45d6c]
/opt/chef/embedded/lib/libruby.so.1.9(ruby_run_node+0x3e) [0x7f5ae2b45d3f]
/opt/chef/embedded/bin/ruby() [0x4008e1]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f5ae1c067d5]
/opt/chef/embedded/bin/ruby() [0x4007c9]

Ohai doesn’t differentiate between EC2 node being EBS- vs. instance-backed

Perhaps I’m missing something, but I’m unable to find it anywhere, nor can I find an Ohai plugin that provides this.

It seems that, even for an EBS-backed instance, Ohai reports ['ec2']['block_device_mapping_ephemeral0'] as having a value, which seems misleading.

Additionaly, it doesn’t make mention of whether or not an instance is EBS-backed.

AIX: getting unable to detect ipaddress and macaddress from ohai

Version:

Ohai: 7.0.4

Environment:

AIX 6.1.0.0

Scenario:

I am trying to use chef-solo and I am not able to run that.

Steps to Reproduce:

/opt/chef/bin/chef-solo -c /u/home/rmaskara/.chef/solo.rb -j /u/home/rmaskara/.chef/node.json

Expected Result:

The recipe defined in node.json file is installed:
{
"run_list": [ "recipe[curl]" ]
}

Actual Result:

I get this:
[2014-07-08T11:42:00-05:00] WARN: unable to detect ipaddress
[2014-07-08T11:42:00-05:00] WARN: unable to detect macaddress
[2014-07-08T11:42:01-05:00] FATAL: Stacktrace dumped to /u/home/rmaskara/.chef/chef-stacktrace.out
Chef Client failed. 0 resources updated in 1.800721 seconds
[2014-07-08T11:42:01-05:00] ERROR: Unable to determine node name: configure node_name or configure the system's hostname and fqdn
[2014-07-08T11:42:01-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Ohai should use lsblk instead of (or in addition to) blkid

Ohai discovers filesystems with blkid specifically to discover umounted filesystems, but blkid is quite bad at discovering these.

For example, note what blkid finds:

# blkid
/dev/sda1: LABEL="/boot" UUID="b132cf93-1c39-4a21-ad4f-13990df55a2e" TYPE="ext3" 
/dev/sda2: UUID="e8da514e-d510-4925-afc6-a8fecda858e1" TYPE="swap" 
/dev/sda3: LABEL="/" UUID="62744bd7-434f-41a1-b9e7-21657a4a0cf9" TYPE="ext4"

Now note what lsblk finds:

# lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0   1.8T  0 disk 
├─sda1    8:1    0   256M  0 part /boot
├─sda2    8:2    0     2G  0 part 
└─sda3    8:3    0   1.8T  0 part /
fioa    252:0    0 670.6G  0 disk 
└─fioa1 252:1    0 670.6G  0 part 
fiob    252:16   0 670.6G  0 disk 
└─fiob1 252:17   0 670.6G  0 part 

Note that blkid CAN tell you things about the extra device:

# blkid /dev/fioa
/dev/fioa: LABEL="/mnt/fio0" UUID="f104098d-ccab-474a-b884-2c60be546a71" TYPE="xfs" 
# blkid /dev/fiob
/dev/fiob: LABEL="/mnt/fio1" UUID="6e2d80fb-bd9e-4b95-a2a4-96b60a11a5d6" TYPE="xfs" 

Something like this would be more useful to Ohai:

# lsblk -n -o name,fstype,mountpoint,label,uuid -r
sda    
sda1 ext3 /boot /boot b132cf93-1c39-4a21-ad4f-13990df55a2e
sda2 swap   e8da514e-d510-4925-afc6-a8fecda858e1
sda3 ext4 / / 62744bd7-434f-41a1-b9e7-21657a4a0cf9
fioa xfs  /mnt/fio0 f104098d-ccab-474a-b884-2c60be546a71 fioa1    
fiob xfs  /mnt/fio1 6e2d80fb-bd9e-4b95-a2a4-96b60a11a5d6 fiob1    

Now, in case you're interested WHY this crap happens, there are several reasons:

  1. blkid uses libblkid which does discovery by walking /proc/partitions and then using a horrible heuristic decides which ones are worth reporting on. See fun bugs like this one:
    http://marc.info/?l=linux-ext4&m=119636478426226&w=2
  2. lsblk walks /sys/block and reports on everything, period. It uses libblkid only to actually get data from the devices once it has the list.

I've verified that lsblk exists in CentOS6 and later, Debian, Ubuntu. However, CentOS5 and some more esoteric Linuxes don't have lsblk, so a fallback to blkid is probably useful.

I'll have pull-requests for you shortly.

Segfault in Ohai when trying to run chef-client via the chef gem

Version:

chef 12.0.0 with the patch for chef/chef#2560

Environment:

Windows 8.1
Installed ruby 2.1.3 and ruby2.devkit via chocolatey

Installed gems:
bigdecimal (1.2.4)
builder (3.2.2)
chef (12.0.0)
chef-zero (3.2.1)
chefspec (4.1.1)
coderay (1.1.0)
diff-lcs (1.2.5)
erubis (2.7.0)
fauxhai (2.2.0)
ffi (1.9.6 x64-mingw32)
ffi-yajl (1.3.1)
foodcritic (4.0.0)
gherkin (2.12.2)
hashie (2.1.2)
highline (1.6.21)
io-console (0.4.2)
ipaddress (0.8.0)
json (1.8.1)
libyajl2 (1.2.0)
method_source (0.8.2)
mime-types (1.25.1)
mini_portile (0.6.1)
minitest (4.7.5)
mixlib-authentication (1.3.0)
mixlib-cli (1.5.0)
mixlib-config (2.1.0)
mixlib-log (1.6.0)
mixlib-shellout (2.0.0, 1.6.1)
multi_json (1.10.1)
net-dhcp (1.3.2)
net-scp (1.2.1)
net-ssh (2.9.1)
net-ssh-gateway (1.2.0)
net-ssh-multi (1.2.0)
nokogiri (1.6.5 x64-mingw32)
ohai (8.0.1)
plist (3.1.0)
polyglot (0.3.5)
pry (0.10.1 x64-mingw32)
psych (2.0.5)
rack (1.5.2)
rake (10.1.0)
rdoc (4.1.0)
rspec (3.1.0)
rspec-core (3.1.7)
rspec-expectations (3.1.2)
rspec-mocks (3.1.3)
rspec-support (3.1.2)
rspec_junit_formatter (0.2.0)
rubygems-update (2.4.5)
rufus-lru (1.0.5)
safe_yaml (1.0.4)
slop (3.6.0)
systemu (2.6.4)
test-kitchen (1.2.1)
test-unit (2.1.3.0)
thor (0.19.1)
treetop (1.5.3)
uuidtools (2.1.5)
win32-api (1.5.2 universal-mingw32)
win32-event (0.6.1)
win32-eventlog (0.6.2)
win32-ipc (0.6.1)
win32-nio (0.1.3)
win32-process (0.7.4)
win32-service (0.8.6)
win32console (1.3.2)
windows-api (0.4.3)
windows-pr (1.2.4)
wmi-lite (1.0.0)
yajl-ruby (1.2.1)

Scenario:

Trying to run chef-client via the chef gem. Failing with an exception.

Steps to Reproduce:

Invoke chef-client on the command line

Actual Result:

I get the following exception when invoking chef-client

E:> chef-client
{:config_missing=>true}
[2014-12-09T23:29:27+13:00] WARN: *****************************************
[2014-12-09T23:29:27+13:00] WARN: Did not find config file: C:\chef\client.rb, using command line options.
[2014-12-09T23:29:27+13:00] WARN: *****************************************
Starting Chef Client, version 12.0.0
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/string.rb:27: [BUG] Segmentation fault
ruby 2.1.3p242 (2014-09-19 revision 47630) [x64-mingw32]

-- Control frame information -----------------------------------------------
c:0031 p:0034 s:0119 e:000118 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/string.rb:27
c:0030 p:0018 s:0116 e:000113 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:40 [FINISH]
c:0029 p:---- s:0111 e:000110 CFUNC :each
c:0028 p:0058 s:0108 e:000107 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:39 [FINISH]
c:0027 p:---- s:0104 e:000103 CFUNC :each
c:0026 p:0067 s:0101 e:000100 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:35 [FINISH]
c:0025 p:---- s:0095 e:000094 CFUNC :instance_eval
c:0024 p:0039 s:0092 e:000091 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin/versionvii.rb:88
c:0023 p:0059 s:0087 e:000086 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin.rb:98
c:0022 p:0009 s:0084 e:000083 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin.rb:169
c:0021 p:0119 s:0080 e:000079 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/runner.rb:82
c:0020 p:0114 s:0073 e:000072 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/runner.rb:43
c:0019 p:0011 s:0068 e:000067 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:94 [FINISH]
c:0018 p:---- s:0065 e:000064 CFUNC :each
c:0017 p:0056 s:0062 e:000061 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:93
c:0016 p:0026 s:0056 e:000055 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:71
c:0015 p:0009 s:0052 e:000051 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/client.rb:262
c:0014 p:0177 s:0049 e:000048 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/client.rb:382
c:0013 p:0017 s:0042 E:000008 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:243
c:0012 p:0111 s:0039 e:000038 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:220
c:0011 p:0014 s:0036 e:000035 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/local_mode.rb:38
c:0010 p:0019 s:0033 e:000032 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:201
c:0009 p:0091 s:0029 e:000028 BLOCK C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:353 [FINISH]
c:0008 p:---- s:0025 e:000024 CFUNC :loop
c:0007 p:0040 s:0022 e:000021 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:343
c:0006 p:0104 s:0019 e:000018 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:333
c:0005 p:0025 s:0015 e:000014 METHOD C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:58
c:0004 p:0072 s:0012 e:000011 TOP C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/bin/chef-client:26 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC :load
c:0002 p:0135 s:0006 E:0016a8 EVAL C:/tools/ruby213/bin/chef-client:23 [FINISH]
c:0001 p:0000 s:0002 E:000818 TOP [FINISH]

-- Ruby level backtrace information ----------------------------------------
C:/tools/ruby213/bin/chef-client:23:in

' C:/tools/ruby213/bin/chef-client:23:inload'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/bin/chef-client:26:in <top (required)>' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:58:inrun'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:333:in run_application' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:343:ininterval_run_chef_client'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:343:in loop' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb:353:inblock in interval_run_chef_client'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:201:in run_chef_client' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/local_mode.rb:38:inwith_server_connectivity'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:220:in block in run_chef_client' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb:243:inrun_with_graceful_exit_option'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/client.rb:382:in run' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/client.rb:262:inrun_ohai'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:71:in all_plugins' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:93:inrun_plugins'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:93:in each' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb:94:inblock in run_plugins'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/runner.rb:43:in run_plugin' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/runner.rb:82:inrun_v7_plugin'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin.rb:169:in safe_run' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin.rb:98:inrun'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin/versionvii.rb:88:in run_plugin' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin/versionvii.rb:88:ininstance_eval'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:35:in block (2 levels) in ' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:35:ineach'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:39:in block (3 levels) in ' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:39:ineach'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/plugins/windows/filesystem.rb:40:in block (4 levels) in ' C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/string.rb:27:inwmi_underscore'

-- C level backtrace information -------------------------------------------
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0xa) [0x00007FFB8A4A0C8A]
C:\WINDOWS\system32\KERNELBASE.dll(WaitForSingleObjectEx+0x98) [0x00007FFB87631118]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_bugreport+0xa4) [0x000000006B417174]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_name_err_mesg_new+0x841) [0x000000006B2C9851]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_bug+0x45) [0x000000006B2CA595]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_check_safe_str+0x351) [0x000000006B398D91]
[0x0000000000401A85]
C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007FFB8A492316]
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x9d) [0x00007FFB8A4A398D]
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlRaiseException+0x577) [0x00007FFB8A4693A7]
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x3a) [0x00007FFB8A4A2B1A]
C:\WINDOWS\SYSTEM32\combase.dll(DcomChannelSetHResult+0x3df0) [0x00007FFB87E58830]
[0x00007FFB68CCD9FF]
[0x00007FFB68CCDA64]
[0x00007FFB68CCDF38]
[0x00007FFB68CD1EA8]
[0x00007FFB68CD1FA4]
[0x00007FFB68CD2A6B]
[0x00007FFB68CED98F]
[0x00007FFB68CCED62]
[0x00007FFB68CEE34A]
[0x000000006528350E]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_obj_id+0x463) [0x000000006B2E61A3]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_obj_id+0x8e2) [0x000000006B2E6622]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_postponed_job_flush+0xe7) [0x000000006B41D107]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_thread_kill+0x43a) [0x000000006B420B1A]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5356) [0x000000006B40A746]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006B40BF43]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4132E4]
[0x000000006528B321]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_ensure+0x12f) [0x000000006B2D2BCF]
[0x0000000065282ECC]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006B407361]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006B40BF43]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4132E4]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006B281971]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006B407361]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006B40BF43]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_yield_refine_block+0x19b) [0x000000006B412E4B]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_obj_instance_eval+0x121) [0x000000006B413581]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006B407361]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x413) [0x000000006B40BF43]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4132E4]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006B281971]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006B407361]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_get_insns_address_table+0x4f2) [0x000000006B412C12]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_rescue2+0xf5) [0x000000006B2D27C5]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_notimplement+0x4b3) [0x000000006B4003C3]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f71) [0x000000006B407361]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006B413A33]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006B2D39BC]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x1147) [0x000000006B2D4497]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B4021F6]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B40CF91]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1628) [0x000000006B406A18]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a5d) [0x000000006B40AE4D]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval_main+0x1d0) [0x000000006B413C50]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(rb_check_copyable+0x304a) [0x000000006B2CF36A]
C:\tools\ruby213\bin\x64-msvcrt-ruby210.dll(ruby_run_node+0x51) [0x000000006B2D2281]
[0x0000000000402D14]
[0x00000000004013D7]
[0x00000000004014F8]
C:\WINDOWS\system32\KERNEL32.DLL(BaseThreadInitThunk+0x22) [0x00007FFB89F713D2]

-- Other runtime information -----------------------------------------------

Loaded script: C:/tools/ruby213/bin/chef-client

Loaded features:

0 enumerator.so
1 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/encdb.so
2 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/iso_8859_1.so
3 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/trans/transdb.so
4 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/rbconfig.rb
5 thread.rb
6 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/thread.so
7 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/compatibility.rb
8 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb
9 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb
10 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/errors.rb
11 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/version.rb
12 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/requirement.rb
13 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/platform.rb
14 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/basic_specification.rb
15 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/stub_specification.rb
16 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/util/stringio.rb
17 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb
18 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/exceptions.rb
19 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/defaults/operating_system.rb
20 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb
21 C:/tools/ruby213/lib/ruby/2.1.0/monitor.rb
22 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb
23 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems.rb
24 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb
25 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/path_support.rb
26 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/version.rb
27 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/nil_argument.rb
28 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mash.rb
29 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout/exceptions.rb
30 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/exceptions.rb
31 C:/tools/ruby213/lib/ruby/2.1.0/logger.rb
32 C:/tools/ruby213/lib/ruby/2.1.0/prettyprint.rb
33 C:/tools/ruby213/lib/ruby/2.1.0/pp.rb
34 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monologger.rb
35 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-log-1.6.0/lib/mixlib/log/version.rb
36 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/date_core.so
37 C:/tools/ruby213/lib/ruby/2.1.0/date/format.rb
38 C:/tools/ruby213/lib/ruby/2.1.0/date.rb
39 C:/tools/ruby213/lib/ruby/2.1.0/time.rb
40 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-log-1.6.0/lib/mixlib/log/formatter.rb
41 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-log-1.6.0/lib/mixlib/log.rb
42 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/log.rb
43 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config/version.rb
44 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config/configurable.rb
45 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config/unknown_config_option_error.rb
46 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config/reopened_config_context_with_configurable_error.rb
47 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config/reopened_configurable_with_config_context_error.rb
48 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-config-2.1.0/lib/mixlib/config.rb
49 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/etc.so
50 C:/tools/ruby213/lib/ruby/2.1.0/fileutils.rb
51 C:/tools/ruby213/lib/ruby/2.1.0/tmpdir.rb
52 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/fcntl.so
53 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/2.1/ffi_c.so
54 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/platform.rb
55 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/types.rb
56 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/library.rb
57 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/errno.rb
58 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/pointer.rb
59 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/memorypointer.rb
60 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/struct_layout_builder.rb
61 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/struct.rb
62 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/union.rb
63 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/managedstruct.rb
64 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/callback.rb
65 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/io.rb
66 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/autopointer.rb
67 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/variadic.rb
68 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/enum.rb
69 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi/ffi.rb
70 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-1.9.6-x64-mingw32/lib/ffi.rb
71 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-process-0.7.4/lib/win32/process/functions.rb
72 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-process-0.7.4/lib/win32/process/constants.rb
73 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-process-0.7.4/lib/win32/process/structs.rb
74 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-process-0.7.4/lib/win32/process/helper.rb
75 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-process-0.7.4/lib/win32/process.rb
76 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-api-1.5.2-universal-mingw32/lib/win32/ruby21_64/win32/api.so
77 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-api-1.5.2-universal-mingw32/lib/win32/api.rb
78 C:/tools/ruby213/lib/ruby/2.1.0/forwardable.rb
79 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-api-0.4.3/lib/windows/api.rb
80 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/handle.rb
81 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/process.rb
82 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/synchronize.rb
83 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout/windows/core_ext.rb
84 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout/windows.rb
85 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb
86 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/shell_out.rb
87 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/which.rb
88 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/selinux.rb
89 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform/query_helpers.rb
90 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/params_validate.rb
91 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/version_class.rb
92 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/version_constraint.rb
93 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/version/platform.rb
94 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/version_constraint/platform.rb
95 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/from_file.rb
96 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/convert_to_class_name.rb
97 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/reserved_names.rb
98 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api.rb
99 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/security.rb
100 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/error.rb
101 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/memory.rb
102 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/memory.rb
103 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/unicode.rb
104 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/unicode.rb
105 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/error.rb
106 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/process.rb
107 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/psapi.rb
108 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/system.rb
109 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/handle.rb
110 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/process.rb
111 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/token.rb
112 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/net.rb
113 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/win32ole.so
114 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/wmi-lite-1.0.0/lib/wmi-lite/wmi_instance.rb
115 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/wmi-lite-1.0.0/lib/wmi-lite/wmi_exception.rb
116 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/wmi-lite-1.0.0/lib/wmi-lite/wmi.rb
117 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/sid.rb
118 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/ace.rb
119 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/acl.rb
120 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/securable_object.rb
121 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security/security_descriptor.rb
122 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/security.rb
123 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_access_control/windows.rb
124 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_access_control.rb
125 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/enforce_ownership_and_permissions.rb
126 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/why_run.rb
127 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/descendants_tracker.rb
128 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform/service_helpers.rb
129 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/node_map.rb
130 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider.rb
131 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform/provider_mapping.rb
132 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform.rb
133 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/path_helper.rb
134 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/pathname.so
135 C:/tools/ruby213/lib/ruby/2.1.0/pathname.rb
136 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/utf_16le.so
137 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/trans/single_byte.so
138 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/trans/utf_16_32.so
139 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/config.rb
140 C:/tools/ruby213/lib/ruby/2.1.0/delegate.rb
141 C:/tools/ruby213/lib/ruby/2.1.0/tempfile.rb
142 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/execute.rb
143 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/script.rb
144 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/windows_architecture_helper.rb
145 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/windows_script.rb
146 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/batch.rb
147 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/breakpoint.rb
148 C:/tools/ruby213/lib/ruby/2.1.0/uri/common.rb
149 C:/tools/ruby213/lib/ruby/2.1.0/uri/generic.rb
150 C:/tools/ruby213/lib/ruby/2.1.0/uri/ftp.rb
151 C:/tools/ruby213/lib/ruby/2.1.0/uri/http.rb
152 C:/tools/ruby213/lib/ruby/2.1.0/uri/https.rb
153 C:/tools/ruby213/lib/ruby/2.1.0/uri/ldap.rb
154 C:/tools/ruby213/lib/ruby/2.1.0/uri/ldaps.rb
155 C:/tools/ruby213/lib/ruby/2.1.0/uri/mailto.rb
156 C:/tools/ruby213/lib/ruby/2.1.0/uri.rb
157 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/socket.so
158 C:/tools/ruby213/lib/ruby/2.1.0/socket.rb
159 C:/tools/ruby213/lib/ruby/2.1.0/timeout.rb
160 C:/tools/ruby213/lib/ruby/2.1.0/net/protocol.rb
161 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/zlib.so
162 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/stringio.so
163 C:/tools/ruby213/lib/ruby/2.1.0/net/http/exceptions.rb
164 C:/tools/ruby213/lib/ruby/2.1.0/net/http/header.rb
165 C:/tools/ruby213/lib/ruby/2.1.0/net/http/generic_request.rb
166 C:/tools/ruby213/lib/ruby/2.1.0/net/http/request.rb
167 C:/tools/ruby213/lib/ruby/2.1.0/net/http/requests.rb
168 C:/tools/ruby213/lib/ruby/2.1.0/net/http/response.rb
169 C:/tools/ruby213/lib/ruby/2.1.0/net/http/responses.rb
170 C:/tools/ruby213/lib/ruby/2.1.0/net/http/proxy_delta.rb
171 C:/tools/ruby213/lib/ruby/2.1.0/net/http/backward.rb
172 C:/tools/ruby213/lib/ruby/2.1.0/net/http.rb
173 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/digest.so
174 C:/tools/ruby213/lib/ruby/2.1.0/digest.rb
175 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/openssl.so
176 C:/tools/ruby213/lib/ruby/2.1.0/openssl/bn.rb
177 C:/tools/ruby213/lib/ruby/2.1.0/openssl/cipher.rb
178 C:/tools/ruby213/lib/ruby/2.1.0/openssl/config.rb
179 C:/tools/ruby213/lib/ruby/2.1.0/openssl/digest.rb
180 C:/tools/ruby213/lib/ruby/2.1.0/openssl/x509.rb
181 C:/tools/ruby213/lib/ruby/2.1.0/openssl/buffering.rb
182 C:/tools/ruby213/lib/ruby/2.1.0/openssl/ssl.rb
183 C:/tools/ruby213/lib/ruby/2.1.0/openssl.rb
184 C:/tools/ruby213/lib/ruby/2.1.0/net/https.rb
185 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/ssl_policies.rb
186 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/version.rb
187 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/http_request.rb
188 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/basic_client.rb
189 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/string.rb
190 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/net_http.rb
191 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http.rb
192 C:/tools/ruby213/lib/ruby/2.1.0/base64.rb
193 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/digest/sha1.so
194 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication.rb
195 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication/digester.rb
196 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-authentication-1.3.0/lib/mixlib/authentication/signedheaderauth.rb
197 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/auth_credentials.rb
198 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/authenticator.rb
199 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/decompressor.rb
200 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-yajl-1.3.1/lib/ffi_yajl/encoder.rb
201 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-yajl-1.3.1/lib/ffi_yajl/parser.rb
202 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/libyajl2-1.2.0/lib/libyajl2/version.rb
203 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/libyajl2-1.2.0/lib/libyajl2.rb
204 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/fiddle.so
205 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/function.rb
206 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/closure.rb
207 C:/tools/ruby213/lib/ruby/2.1.0/fiddle.rb
208 C:/tools/ruby213/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/ffi-yajl-1.3.1/ffi_yajl/ext/parser.so
209 C:/tools/ruby213/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/ffi-yajl-1.3.1/ffi_yajl/ext/encoder.so
210 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-yajl-1.3.1/lib/ffi_yajl/ext.rb
211 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ffi-yajl-1.3.1/lib/ffi_yajl.rb
212 C:/tools/ruby213/lib/ruby/2.1.0/json/version.rb
213 C:/tools/ruby213/lib/ruby/2.1.0/ostruct.rb
214 C:/tools/ruby213/lib/ruby/2.1.0/json/generic_object.rb
215 C:/tools/ruby213/lib/ruby/2.1.0/json/common.rb
216 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/utf_16be.so
217 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/utf_32be.so
218 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/enc/utf_32le.so
219 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/json/ext/parser.so
220 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/json/ext/generator.so
221 C:/tools/ruby213/lib/ruby/2.1.0/json/ext.rb
222 C:/tools/ruby213/lib/ruby/2.1.0/json.rb
223 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/json_compat.rb
224 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/json_input.rb
225 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/json_output.rb
226 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/json_to_model_output.rb
227 C:/tools/ruby213/lib/ruby/2.1.0/singleton.rb
228 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/cookie_jar.rb
229 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/cookie_manager.rb
230 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/validate_content_length.rb
231 C:/tools/ruby213/lib/ruby/2.1.0/securerandom.rb
232 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/securerandom.rb
233 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/request_id.rb
234 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/remote_request_id.rb
235 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/rest.rb
236 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/deep_merge.rb
237 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/deprecation.rb
238 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/language_include_attribute.rb
239 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/include_attribute.rb
240 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/environment.rb
241 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_list/run_list_item.rb
242 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/role.rb
243 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_list/run_list_expansion.rb
244 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_list/versioned_recipe_list.rb
245 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_list.rb
246 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/node/immutable_collections.rb
247 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/node/attribute_collections.rb
248 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/node/attribute.rb
249 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/whitelist.rb
250 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/node.rb
251 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/data_bag_item.rb
252 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/data_bag.rb
253 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/search/query.rb
254 C:/tools/ruby213/lib/ruby/2.1.0/psych/exception.rb
255 C:/tools/ruby213/lib/ruby/2.1.0/psych/syntax_error.rb
256 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/psych.so
257 C:/tools/ruby213/lib/ruby/2.1.0/psych/omap.rb
258 C:/tools/ruby213/lib/ruby/2.1.0/psych/set.rb
259 C:/tools/ruby213/lib/ruby/2.1.0/psych/class_loader.rb
260 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/strscan.so
261 C:/tools/ruby213/lib/ruby/2.1.0/psych/scalar_scanner.rb
262 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/node.rb
263 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/stream.rb
264 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/document.rb
265 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/sequence.rb
266 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/scalar.rb
267 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/mapping.rb
268 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes/alias.rb
269 C:/tools/ruby213/lib/ruby/2.1.0/psych/nodes.rb
270 C:/tools/ruby213/lib/ruby/2.1.0/psych/streaming.rb
271 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/visitor.rb
272 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/to_ruby.rb
273 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/emitter.rb
274 C:/tools/ruby213/lib/ruby/2.1.0/psych/handler.rb
275 C:/tools/ruby213/lib/ruby/2.1.0/psych/tree_builder.rb
276 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/yaml_tree.rb
277 C:/tools/ruby213/lib/ruby/2.1.0/psych/json/ruby_events.rb
278 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/json_tree.rb
279 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors/depth_first.rb
280 C:/tools/ruby213/lib/ruby/2.1.0/psych/visitors.rb
281 C:/tools/ruby213/lib/ruby/2.1.0/psych/parser.rb
282 C:/tools/ruby213/lib/ruby/2.1.0/psych/coder.rb
283 C:/tools/ruby213/lib/ruby/2.1.0/psych/core_ext.rb
284 C:/tools/ruby213/lib/ruby/2.1.0/psych/deprecated.rb
285 C:/tools/ruby213/lib/ruby/2.1.0/psych/stream.rb
286 C:/tools/ruby213/lib/ruby/2.1.0/psych/json/yaml_events.rb
287 C:/tools/ruby213/lib/ruby/2.1.0/psych/json/tree_builder.rb
288 C:/tools/ruby213/lib/ruby/2.1.0/psych/json/stream.rb
289 C:/tools/ruby213/lib/ruby/2.1.0/psych/handlers/document_stream.rb
290 C:/tools/ruby213/lib/ruby/2.1.0/psych.rb
291 C:/tools/ruby213/lib/ruby/2.1.0/yaml.rb
292 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/digest/sha2.so
293 C:/tools/ruby213/lib/ruby/2.1.0/digest/sha2.rb
294 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
295 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/decryption_failure.rb
296 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
297 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
298 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/assertions.rb
299 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/decryptor.rb
300 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/encryption_failure.rb
301 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/encryptor.rb
302 C:/tools/ruby213/lib/ruby/2.1.0/open-uri.rb
303 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item.rb
304 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/encrypted_data_bag_item/check_encrypted.rb
305 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/data_query.rb
306 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/language.rb
307 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/platform_introspection.rb
308 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/registry_helper.rb
309 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/reboot_pending.rb
310 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/guard_interpreter/default_guard_interpreter.rb
311 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/guard_interpreter/resource_guard_interpreter.rb
312 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/conditional.rb
313 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/conditional_action_not_nothing.rb
314 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_collection/resource_collection_serialization.rb
315 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_collection/resource_set.rb
316 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_collection/stepable_iterator.rb
317 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_collection/resource_list.rb
318 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_collection.rb
319 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform/provider_priority_map.rb
320 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider_resolver.rb
321 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource.rb
322 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/securable.rb
323 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/file.rb
324 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/scan_access_control.rb
325 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/digester.rb
326 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/checksum.rb
327 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/file_class.rb
328 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/backup.rb
329 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb
330 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb
331 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb
332 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs.rb
333 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb
334 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb
335 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/diff.rb
336 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/provider/file.rb
337 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/warnings.rb
338 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/deploy/cp.rb
339 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/deploy/mv_unix.rb
340 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/deploy/mv_windows.rb
341 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/deploy.rb
342 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/file.rb
343 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/provider/cookbook_file.rb
344 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cookbook_file.rb
345 C:/tools/ruby213/lib/ruby/2.1.0/open3.rb
346 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/command/windows.rb
347 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/command.rb
348 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cron.rb
349 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cron/unix.rb
350 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cron/solaris.rb
351 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cron/aix.rb
352 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/fileutils.rb
353 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/git.rb
354 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/subversion.rb
355 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/recipe_definition_dsl_core.rb
356 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/recipe.rb
357 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/deploy.rb
358 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/directory.rb
359 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/directory.rb
360 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/powershell/cmdlet_result.rb
361 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/powershell/cmdlet.rb
362 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/dsc/configuration_generator.rb
363 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/dsc/resource_info.rb
364 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/dsc/lcm_output_parser.rb
365 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/dsc/local_configuration_manager.rb
366 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/dsc_script.rb
367 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/env.rb
368 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/env.rb
369 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/erl_call.rb
370 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group.rb
371 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/http/simple.rb
372 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/http_request.rb
373 C:/tools/ruby213/lib/ruby/2.1.0/cgi/util.rb
374 C:/tools/ruby213/lib/ruby/2.1.0/erb.rb
375 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ifconfig.rb
376 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/link.rb
377 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/link.rb
378 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/log.rb
379 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/config.rb
380 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/log.rb
381 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mash.rb
382 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/os.rb
383 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/exception.rb
384 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/command.rb
385 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/seconds_to_human.rb
386 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/hints.rb
387 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin.rb
388 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin/versionvi.rb
389 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl/plugin/versionvii.rb
390 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/dsl.rb
391 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/loader.rb
392 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/runner.rb
393 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/string.rb
394 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/constant_helper.rb
395 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/provides_map.rb
396 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/system.rb
397 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai.rb
398 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ohai.rb
399 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mdadm.rb
400 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mount.rb
401 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/create_path.rb
402 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_cache.rb
403 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package.rb
404 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/powershell_script.rb
405 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/reboot.rb
406 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/provider/remote_file.rb
407 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file.rb
408 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/remote_file.rb
409 C:/tools/ruby213/lib/ruby/2.1.0/set.rb
410 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_directory.rb
411 C:/tools/ruby213/lib/ruby/2.1.0/ipaddr.rb
412 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/route.rb
413 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ruby_block.rb
414 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service.rb
415 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/template_finder.rb
416 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/util.rb
417 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/generator.rb
418 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/converter.rb
419 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/error.rb
420 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/context.rb
421 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb
422 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/engine.rb
423 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/helper.rb
424 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb
425 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb
426 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb
427 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis.rb
428 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/mixin/template.rb
429 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/deprecation/provider/template.rb
430 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/template.rb
431 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user.rb
432 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/whyrun_safe_ruby_block.rb
433 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/windows_env_helper.rb
434 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/env/windows.rb
435 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/package.rb
436 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/apt.rb
437 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/get_source_from_package.rb
438 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/dpkg.rb
439 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/easy_install.rb
440 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/freebsd/base.rb
441 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/freebsd/port.rb
442 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/freebsd/pkg.rb
443 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/freebsd/pkgng.rb
444 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/homebrew_user.rb
445 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/homebrew.rb
446 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/ips.rb
447 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/macports.rb
448 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/pacman.rb
449 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/portage.rb
450 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/paludis.rb
451 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/rpm.rb
452 C:/tools/ruby213/lib/ruby/2.1.0/x64-mingw32/io/console.so
453 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/user_interaction.rb
454 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request/http_pool.rb
455 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request/https_pool.rb
456 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request/connection_pools.rb
457 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request.rb
458 C:/tools/ruby213/lib/ruby/2.1.0/cgi/core.rb
459 C:/tools/ruby213/lib/ruby/2.1.0/cgi/cookie.rb
460 C:/tools/ruby213/lib/ruby/2.1.0/cgi.rb
461 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/uri_formatter.rb
462 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/value.rb
463 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/pack.rb
464 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/struct.rb
465 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/cparser.rb
466 C:/tools/ruby213/lib/ruby/2.1.0/fiddle/import.rb
467 C:/tools/ruby213/lib/ruby/2.1.0/win32/importer.rb
468 C:/tools/ruby213/lib/ruby/2.1.0/win32/registry.rb
469 C:/tools/ruby213/lib/ruby/2.1.0/win32/resolv.rb
470 C:/tools/ruby213/lib/ruby/2.1.0/resolv.rb
471 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/remote_fetcher.rb
472 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/text.rb
473 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/name_tuple.rb
474 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/spec_fetcher.rb
475 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/security/policy.rb
476 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/security/policies.rb
477 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/security/trust_dir.rb
478 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/security/signer.rb
479 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/security.rb
480 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/digest_io.rb
481 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/source.rb
482 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/file_source.rb
483 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/io_source.rb
484 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/old.rb
485 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/tar_header.rb
486 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/tar_reader/entry.rb
487 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/tar_reader.rb
488 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package/tar_writer.rb
489 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/package.rb
490 C:/tools/ruby213/lib/ruby/2.1.0/tsort.rb
491 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/dependency_list.rb
492 C:/tools/ruby213/lib/ruby/2.1.0/optparse.rb
493 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/command.rb
494 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/build_error.rb
495 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb
496 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/configure_builder.rb
497 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/ext_conf_builder.rb
498 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/rake_builder.rb
499 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext/cmake_builder.rb
500 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/ext.rb
501 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/installer.rb
502 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/util.rb
503 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/git.rb
504 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/installed.rb
505 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/specific_file.rb
506 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/local.rb
507 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/lock.rb
508 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source/vendor.rb
509 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source.rb
510 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/available_set.rb
511 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/dependency_installer.rb
512 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request_set/gem_dependency_api.rb
513 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request_set/lockfile.rb
514 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/request_set.rb
515 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/util/list.rb
516 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/activation_request.rb
517 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/conflict.rb
518 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/dependency_request.rb
519 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/requirement_list.rb
520 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/stats.rb
521 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/set.rb
522 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/api_set.rb
523 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/composed_set.rb
524 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/best_set.rb
525 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/current_set.rb
526 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/git_set.rb
527 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/index_set.rb
528 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/installer_set.rb
529 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/lock_set.rb
530 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/vendor_set.rb
531 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/specification.rb
532 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/spec_specification.rb
533 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/api_specification.rb
534 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/git_specification.rb
535 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/index_specification.rb
536 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/installed_specification.rb
537 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/local_specification.rb
538 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/lock_specification.rb
539 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver/vendor_specification.rb
540 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb
541 C:/tools/ruby213/lib/ruby/2.1.0/rdoc.rb
542 C:/tools/ruby213/lib/ruby/2.1.0/rdoc/rubygems_hook.rb
543 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/rdoc.rb
544 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/uninstaller.rb
545 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/config_file.rb
546 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/psych_additions.rb
547 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/psych_tree.rb
548 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/syck_hack.rb
549 C:/tools/ruby213/lib/ruby/site_ruby/2.1.0/rubygems/source_list.rb
550 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/rubygems.rb
551 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/yum.rb
552 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/zypper.rb
553 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/solaris.rb
554 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/smartos.rb
555 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/aix.rb
556 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/service.rb
557 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/simple.rb
558 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/init.rb
559 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/arch.rb
560 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/freebsd.rb
561 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/gentoo.rb
562 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/invokercd.rb
563 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/debian.rb
564 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/redhat.rb
565 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/insserv.rb
566 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/systemd.rb
567 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/editor.rb
568 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/file_edit.rb
569 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/upstart.rb
570 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-service-0.8.6/lib/win32/windows/helper.rb
571 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-service-0.8.6/lib/win32/windows/constants.rb
572 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-service-0.8.6/lib/win32/windows/structs.rb
573 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-service-0.8.6/lib/win32/windows/functions.rb
574 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-service-0.8.6/lib/win32/service.rb
575 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/windows.rb
576 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/solaris.rb
577 C:/tools/ruby213/lib/ruby/2.1.0/rexml/security.rb
578 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parseexception.rb
579 C:/tools/ruby213/lib/ruby/2.1.0/rexml/formatters/default.rb
580 C:/tools/ruby213/lib/ruby/2.1.0/rexml/formatters/pretty.rb
581 C:/tools/ruby213/lib/ruby/2.1.0/rexml/node.rb
582 C:/tools/ruby213/lib/ruby/2.1.0/rexml/child.rb
583 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parent.rb
584 C:/tools/ruby213/lib/ruby/2.1.0/rexml/xmltokens.rb
585 C:/tools/ruby213/lib/ruby/2.1.0/rexml/namespace.rb
586 C:/tools/ruby213/lib/ruby/2.1.0/rexml/encoding.rb
587 C:/tools/ruby213/lib/ruby/2.1.0/rexml/source.rb
588 C:/tools/ruby213/lib/ruby/2.1.0/rexml/entity.rb
589 C:/tools/ruby213/lib/ruby/2.1.0/rexml/attlistdecl.rb
590 C:/tools/ruby213/lib/ruby/2.1.0/rexml/doctype.rb
591 C:/tools/ruby213/lib/ruby/2.1.0/rexml/text.rb
592 C:/tools/ruby213/lib/ruby/2.1.0/rexml/attribute.rb
593 C:/tools/ruby213/lib/ruby/2.1.0/rexml/cdata.rb
594 C:/tools/ruby213/lib/ruby/2.1.0/rexml/functions.rb
595 C:/tools/ruby213/lib/ruby/2.1.0/rexml/syncenumerator.rb
596 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parsers/xpathparser.rb
597 C:/tools/ruby213/lib/ruby/2.1.0/rexml/xpath_parser.rb
598 C:/tools/ruby213/lib/ruby/2.1.0/rexml/xpath.rb
599 C:/tools/ruby213/lib/ruby/2.1.0/rexml/element.rb
600 C:/tools/ruby213/lib/ruby/2.1.0/rexml/xmldecl.rb
601 C:/tools/ruby213/lib/ruby/2.1.0/rexml/comment.rb
602 C:/tools/ruby213/lib/ruby/2.1.0/rexml/instruction.rb
603 C:/tools/ruby213/lib/ruby/2.1.0/rexml/rexml.rb
604 C:/tools/ruby213/lib/ruby/2.1.0/rexml/output.rb
605 C:/tools/ruby213/lib/ruby/2.1.0/rexml/undefinednamespaceexception.rb
606 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parsers/baseparser.rb
607 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parsers/streamparser.rb
608 C:/tools/ruby213/lib/ruby/2.1.0/rexml/validation/validationexception.rb
609 C:/tools/ruby213/lib/ruby/2.1.0/rexml/parsers/treeparser.rb
610 C:/tools/ruby213/lib/ruby/2.1.0/rexml/document.rb
611 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/macosx.rb
612 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/aixinit.rb
613 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/service/aix.rb
614 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/plist-3.1.0/lib/plist/generator.rb
615 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/plist-3.1.0/lib/plist/parser.rb
616 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/plist-3.1.0/lib/plist.rb
617 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/dscl.rb
618 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/pw.rb
619 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/useradd.rb
620 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/error.rb
621 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/msvcrt/string.rb
622 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/unicode.rb
623 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/msvcrt/buffer.rb
624 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/network/management.rb
625 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/windows.rb
626 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/windows/net_user.rb
627 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/windows.rb
628 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/solaris.rb
629 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/user/aix.rb
630 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/groupadd.rb
631 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/aix.rb
632 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/dscl.rb
633 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/gpasswd.rb
634 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/groupmod.rb
635 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/pw.rb
636 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/suse.rb
637 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/usermod.rb
638 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/windows/net_group.rb
639 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/group/windows.rb
640 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mount/mount.rb
641 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mount/aix.rb
642 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mount/solaris.rb
643 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/windows/net_use.rb
644 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/windows-pr-1.2.4/lib/windows/volume.rb
645 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/windows/volume.rb
646 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/mount/windows.rb
647 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/deploy/revision.rb
648 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/deploy/timestamped.rb
649 C:/tools/ruby213/lib/ruby/2.1.0/net/ftp.rb
650 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/tempfile.rb
651 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/ftp.rb
652 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/cache_control_data.rb
653 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/http.rb
654 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/local_file.rb
655 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/fetcher.rb
656 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/lwrp_base.rb
657 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/registry.rb
658 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/registry_key.rb
659 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/file_content_management/content_base.rb
660 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/file/content.rb
661 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/remote_file/content.rb
662 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/cookbook_file/content.rb
663 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/template.rb
664 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/template/content.rb
665 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ifconfig/redhat.rb
666 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ifconfig/debian.rb
667 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/ifconfig/aix.rb
668 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/providers.rb
669 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/apt_package.rb
670 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/execute.rb
671 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/script.rb
672 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/bash.rb
673 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/windows_script.rb
674 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/batch.rb
675 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/breakpoint.rb
676 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/cookbook_file.rb
677 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/gem_package.rb
678 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/chef_gem.rb
679 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/cron.rb
680 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/csh.rb
681 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/scm.rb
682 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/deploy.rb
683 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/deploy_revision.rb
684 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/dpkg_package.rb
685 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/dsc_script.rb
686 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/easy_install_package.rb
687 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/erl_call.rb
688 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/freebsd_package.rb
689 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/ips_package.rb
690 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/git.rb
691 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/group.rb
692 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/http_request.rb
693 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/homebrew_package.rb
694 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/ifconfig.rb
695 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/log.rb
696 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/macports_package.rb
697 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/mdadm.rb
698 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/mount.rb
699 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/ohai.rb
700 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/pacman_package.rb
701 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/paludis_package.rb
702 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/perl.rb
703 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/portage_package.rb
704 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/powershell_script.rb
705 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/python.rb
706 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/reboot.rb
707 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/registry_key.rb
708 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/remote_directory.rb
709 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/rpm_package.rb
710 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/solaris_package.rb
711 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/route.rb
712 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/ruby.rb
713 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/ruby_block.rb
714 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/windows_service.rb
715 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/subversion.rb
716 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/smartos_package.rb
717 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/template.rb
718 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/timestamped_deploy.rb
719 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/user.rb
720 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/whyrun_safe_ruby_block.rb
721 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/installer.rb
722 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/windows/msi.rb
723 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/provider/package/windows.rb
724 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/windows_package.rb
725 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/yum_package.rb
726 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/lwrp_base.rb
727 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource/bff_package.rb
728 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resources.rb
729 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/shell_out.rb
730 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/api/synchronization.rb
731 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/win32/mutex.rb
732 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_lock.rb
733 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/daemon.rb
734 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_status.rb
735 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/path_sanity.rb
736 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/api_client.rb
737 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/api_client/registration.rb
738 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/file_vendor.rb
739 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/metadata.rb
740 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/pathname.rb
741 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook_version.rb
742 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/mixin/language_include_recipe.rb
743 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/dsl/include_recipe.rb
744 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/recipe.rb
745 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_definition.rb
746 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_definition_list.rb
747 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_context/cookbook_compiler.rb
748 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/event_dispatch/events_output_stream.rb
749 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/run_context.rb
750 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/runner.rb
751 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/cookbook_collection.rb
752 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/file_system_file_vendor.rb
753 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/remote_file_vendor.rb
754 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/event_dispatch/base.rb
755 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/event_dispatch/dispatcher.rb
756 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/event_loggers/base.rb
757 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-eventlog-0.6.2/lib/win32/windows/constants.rb
758 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-eventlog-0.6.2/lib/win32/windows/structs.rb
759 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-eventlog-0.6.2/lib/win32/windows/functions.rb
760 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/win32-eventlog-0.6.2/lib/win32/eventlog.rb
761 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/event_loggers/windows_eventlog.rb
762 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/api_error_formatting.rb
763 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/node_load_error_inspector.rb
764 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/registration_error_inspector.rb
765 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/compile_error_inspector.rb
766 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
767 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
768 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
769 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb
770 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_inspectors.rb
771 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_descriptor.rb
772 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/error_mapper.rb
773 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/indentable_output_stream.rb
774 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/base.rb
775 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/doc.rb
776 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/formatters/minimal.rb
777 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/resource_reporter.rb
778 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/policy_builder/expand_node_object.rb
779 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/policy_builder/policyfile.rb
780 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/policy_builder.rb
781 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/platform/rebooter.rb
782 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/chefignore.rb
783 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/cookbook_version_loader.rb
784 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook_loader.rb
785 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/util/threaded_job_queue.rb
786 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/cookbook/synchronizer.rb
787 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/client.rb
788 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/handler.rb
789 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/handler/json_file.rb
790 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/tempfile.rb
791 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/numeric.rb
792 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/object.rb
793 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/file.rb
794 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/monkey_patches/uri.rb
795 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef.rb
796 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/chef_fs.rb
797 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/chef_fs/path_utils.rb
798 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/config_fetcher.rb
799 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/local_mode.rb
800 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/mixlib-cli-1.5.0/lib/mixlib/cli.rb
801 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application.rb
802 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/handler/error_report.rb
803 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/null_logger.rb
804 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/workstation_config_loader.rb
805 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/chef-12.0.0/lib/chef/application/client.rb
806 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/ec2_metadata.rb
807 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/net-dhcp-1.3.2/lib/net/dhcp/constants.rb
808 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/net-dhcp-1.3.2/lib/net/dhcp/options.rb
809 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/net-dhcp-1.3.2/lib/net/dhcp/core.rb
810 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/net-dhcp-1.3.2/lib/net/dhcp.rb
811 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/cloudstack_metadata.rb
812 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/gce_metadata.rb
813 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/util/file_helper.rb
814 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ipaddress-0.8.0/lib/ipaddress/prefix.rb
815 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ipaddress-0.8.0/lib/ipaddress/ipv4.rb
816 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ipaddress-0.8.0/lib/ipaddress/ipv6.rb
817 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ipaddress-0.8.0/lib/ipaddress.rb
818 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/mixin/network_constants.rb
819 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/util/win32.rb
820 C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/ohai-8.0.1/lib/ohai/util/win32/group_helper.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Ohai 8.1 fails with error in Digital Ocean plugin

OS X 10.10.2
Ruby 2.2

[2015-02-17T11:59:33-08:00] WARN: Plugin Method Error: </Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/plugins/digital_ocean.rb>: unsupported operation 'IPAddress'
[2015-02-17T11:59:36-08:00] ERROR: Encountered error while running plugins: #<Ohai::Exceptions::AttributeNotFound: No such attribute: 'digital_ocean'>
/Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/provides_map.rb:97:in `block in find_closest_providers_for': No such attribute: 'digital_ocean' (Ohai::Exceptions::AttributeNotFound)
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/provides_map.rb:95:in `each'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/provides_map.rb:95:in `find_closest_providers_for'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/runner.rb:90:in `fetch_plugins'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/runner.rb:73:in `run_v7_plugin'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/runner.rb:43:in `run_plugin'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/system.rb:94:in `block in run_plugins'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/system.rb:93:in `each'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/system.rb:93:in `run_plugins'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/system.rb:71:in `all_plugins'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/application.rb:90:in `run_application'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/lib/ohai/application.rb:70:in `run'
    from /Users/tim/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ohai-8.1.0/bin/ohai:42:in `<top (required)>'
    from /Users/tim/.rbenv/versions/2.2.0/bin/ohai:23:in `load'
    from /Users/tim/.rbenv/versions/2.2.0/bin/ohai:23:in `<main>'

DMI plugin stripping issue

Hi everybody,

There is a slice issue when using the dmi plugins on windows the parsing of dmidecode doesn't strip the reponse so every value has a '\r'.

Regards,
JM

Fails on OSX with fink-installed hostname

The coreutils version of hostname, installed by fink, doesn't take an '-s' flag:

coolhand$ /sw/bin/hostname --help
Usage: /sw/bin/hostname [NAME]
  or:  /sw/bin/hostname OPTION
Print or set the hostname of the current system.

      --help     display this help and exit
      --version  output version information and exit

Report bugs to <[email protected]>.

The BSD version of the command does.

I changed the last part of /usr/local/lib/ruby/gems/1.8/gems/opscode-ohai-0.1.2/lib/ohai/plugins/darwin/hostname.rb to read:

 fqdn from("hostname")
 begin
  hostname from("hostname -s")
 rescue
  hostname fqdn.gsub(/\..*/, "")
 end

make hint system more user-friendly

The mechanism by which users pass in hints to Ohai is not the most user-friendly (JSON blobs that are either empty or with mysterious contents). Could we consider refactoring it to just be a configuration flag?

Safe attribute creation

Currently, plugin authors have to write attribute Mash.new unless attribute to prevent previous data set on attribute from being overwritten. Plugin authors also have to ensure that existing plugins do not accidentally overwrite attribute when writing plugins that add data to attribute.

It would be nice if attributes could be created automatically and safely. We can harness the use of provides to make this happen:

  • If a plugin says provides "attr" then
    • If attr exists in ohai data, do nothing
    • Else, set attr to nil
  • If a plugin says provides "nested/attr" then
    • If nested exists in ohai data,
      • If attr is a subkey of nested, do nothing,
      • Else, set nested["attr"] to nil
    • Else, create attribute nested and set nested["attr"] to nil.

This should be done during the run step, so that we don't populate empty attributes for plugins that
are disabled.

This will help new plugin authors learning how to write plugins. New authors may not have encountered the attribute Mash.new unless attribute pattern and may be confused why their attribute is not being populated correctly.

This will help plugin authors and plugin maintainers ensure compatibility when new plugins providing attribute (with attribute Mash.new) are submitted. Maintainers and authors will not have to modify existing plugins by appending unless attribute.

Changes to the run_plugin dsl method are required. The new behavior should be to query the plugin's provides and initialize attributes in the manner described above before running collect_data. Changes to existing plugins are not immediately required, as attribute Mash.new unless attribute will set attribute to Mash.new when attribute is nil. However, we should update existing plugins as soon as possible to discourage this pattern. Documentation will require updating as it will no longer be necessary to include attribute Mash.new in plugin code.

Thoughts @opscode/client-engineers ?

Linux vs Windows filesystem plugin inconsistencies

I just noticed that the Linux filesystem plugin uses strings for a couple of fields (see below) where the Windows filesystem plugin uses numbers for these same fields. This causes issues when trying to use the Ohai info from both Linux and Windows machines by any tool written in a statically typed language.

The fields in question are:

KBSize
KBUsed
KBavailable
PercentUsed

The fix is simple, so will add a PR for that shortly...

openstack kvm guest not detected by virtualization plugin

On a vm running on an openstack compute node using kvm:

root@default-ubuntu-1404:~# ohai virtualization
{
  "systems": {
    "kvm": "host"
  },
  "system": "kvm",
  "role": "host"
}

The virtualization plugin somewhat arbitrarily assumes that when kvm modules are present we must be a host. In my case the machine does have the modules loaded, but really is a guest:

root@default-ubuntu-1404:~# cat /proc/modules | grep kvm
kvm_intel 143060 0 - Live 0xffffffffa0114000
kvm 451511 1 kvm_intel, Live 0xffffffffa0082000

Openstack seems to be detectable reliably by dmidecode:

root@default-ubuntu-1404:~# dmidecode -s system-product-name
OpenStack Nova

I'd supply a pull request, but I don't know what to put into the system key. Would the following be acceptable?

{
  "systems" : {
    "openstack nova": "guest"
  },
  "system" : "openstack nova",
  "role" : "guest"
}

How do include just cpu plugin

Hello,

I am trying to use Ohai outside of Chef and I want to just include the cpu plugin but I am having issues

irb(main):002:0> o = Ohai::System.new
=> #<Ohai::System:0x000000175e2fb0 @plugin_path="", @data={}, @provides_map=#<Ohai::ProvidesMap:0x000000175e2f10 @map={}>, @v6_dependency_solver={}, @loader=#<Ohai::Loader:0x000000175e2e70 @controller=#<Ohai::System:0x000000175e2fb0 ...>, @v6_plugin_classes=[], @v7_plugin_classes=[]>, @runner=#<Ohai::Runner:0x000000175e2df8 @provides_map=#<Ohai::ProvidesMap:0x000000175e2f10 @map={}>, @safe_run=true>>
irb(main):008:0> o.require_plugin "linux::cpu"
Ohai::Exceptions::DependencyNotFound: Can not find a plugin for dependency linux::cpu
    from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.0.4/lib/ohai/system.rb:138:in `require_plugin'
    from (irb):8

It does work if I do

o.all_plugins

but that is slower and I would like to avoid that is possible. I thought this worked in Ohai 6 but I guess the api changed in 7 and I am hoping you guys can help set me straight. Thanks!

-John

Getting null domain for Solaris nodes upgraded from Ohai 6.18 to Ohai 7.x

Moving issue from Chef repo to Ohai repo: chef/chef#2139

Original:

We are seeing domain results of "null" when running Ohai 7.4.0. This is happening on the Solaris 10 nodes that we are attempting to upgrade from an older version of the Chef client. Here are some relevant snippets from running Ohai before and after the upgrade:

BEFORE: (using Ohai 6.18.0)

"hostname": "abc",
"fqdn": "abc.def.gh",
"domain": "def.gh",
"network": {
"interfaces": {
"lo0": {

AFTER: (Upgraded to the 11.16 client with Ohai 7.4.0) Notice that the “domain” value is null.

"machinename": "abc",
"hostname": "abc",
"fqdn": "abc",
"domain": null,
"keys": {
"ssh": {

Here is the error we see when we run "ohai domain" on a Solaris node with Ohai 7.4.0:

-bash-3.2$ ohai domain
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/system.rb:191:in attributes_print': I cannot find an attribute named domain! (ArgumentError) from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:94:inblock in run_application'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:93:in each' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:93:inrun_application'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai/application.rb:70:in run' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/bin/ohai:42:in'
from /usr/bin/ohai:23:in load' from /usr/bin/ohai:23:in

This behavior produces an incomplete FQDN value consisting of just the host name and no domain. The behavior may have changed due to a recent mod to the hostname plugin for Ohai?

7e129dc

Hoping this can be corrected soon so that we can upgrade the Client and Ohai across our enterprise. Thanks!

"ohai -d" doesn't work in windows

ohai -d c:\chef\ohai_plugins doesn't seem to work in Windows. Nothing I could do would make it work.

Even worse, when I tried cd c:\chef\ohai_plugins ; ohai -d . It generated errors like it was trying to load the ohai/lib directory as plugins! (woops!)

I think something is wrong with the code that accepts that directory path and it isn't expanding it at program start.

ohai detects wrong ipv6 address

I'm not sure if I've missed something in diagnosing this one so bear with me.

We've disabled ipv6 on the our redhat 5.10 machines and I think as a result ohai is still detecting a IPv6 address, the address reported is an IPv4 addr.

We're using chef-client 11.12.8

Error in Ruby 1.9.1

I get the following error when running bin/ohai with Ruby 1.9.1:

opscode-ohai-0.1.2/lib/ohai/plugins/ruby.rb:21:in `[]=': can't convert Symbol into Integer (TypeError)

ohai WARN: unable to detect ipaddress, macaddress

Ohai: 7.2.4
app chef # ohai > test.ohai
[2014-08-23T05:08:39+03:00] WARN: unable to detect ipaddress
[2014-08-23T05:08:39+03:00] WARN: unable to detect macaddress
app chef #

it did at least detect the gateway:

"network": {
    "interfaces": {
      "eth0:": {
        "type": "eth",
        "number": "0:"
      },
      "lo:": {

      },
      "sit0:": {
        "type": "sit",
        "number": "0:"
      }
    },
    "default_gateway": "172.16.20.1",
    "default_interface": "eth0"
  },
  "counters": {
    "network": {
      "interfaces": {

      }
    }
  },

network info :

app chef # ip link 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 52:54:00:70:26:0b brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT 
    link/sit 0.0.0.0 brd 0.0.0.0

app chef # ip addr      
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 52:54:00:70:26:0b brd ff:ff:ff:ff:ff:ff
    inet 172.16.20.2/24 brd 172.16.20.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe70:260b/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN 
    link/sit 0.0.0.0 brd 0.0.0.0
app chef # 

app chef # ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.20.2  netmask 255.255.255.0  broadcast 172.16.20.255
        inet6 fe80::5054:ff:fe70:260b  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:70:26:0b  txqueuelen 1000  (Ethernet)
        RX packets 368449  bytes 169286648 (161.4 MiB)
        RX errors 0  dropped 201227  overruns 0  frame 0
        TX packets 132059  bytes 68529387 (65.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2556  bytes 249426 (243.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2556  bytes 249426 (243.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

app chef # 

other info

ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-linux]
app chef # gem --version
2.2.2
app chef # gem list --local

*** LOCAL GEMS ***

bigdecimal (1.1.0)
bundler (1.7.2)
bundler-unload (1.0.2)
chef (11.14.6)
chef-zero (2.2)
coderay (1.1.0)
diff-lcs (1.2.5)
erubis (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.3)
ffi-yajl (1.0.2)
gem-wrappers (1.2.5)
hashie (2.1.2)
highline (1.6.21)
io-console (0.3)
ipaddress (0.8.0)
json (1.5.5)
libyajl2 (1.0.1)
method_source (0.8.2)
mime-types (1.25.1)
minitest (2.5.1)
mixlib-authentication (1.3.0)
mixlib-cli (1.5.0)
mixlib-config (2.1.0)
mixlib-log (1.6.0)
mixlib-shellout (1.6.0.rc.0)
net-ssh (2.9.1)
net-ssh-gateway (1.2.0)
net-ssh-multi (1.2.0)
ohai (7.2.4)
plist (3.1.0)
pry (0.10.1)
rack (1.6.0.beta)
rake (0.9.2.2)
rdoc (3.9.5)
rest-client (1.6.7)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
slop (3.6.0)
systemu (2.6.4)
wmi-lite (1.0.0)
app chef # 

Feature Request: expose binary, library and configuration file paths as automatic attributes per-platform

I have used a cookbook I've written to accomplish this in the past (https://github.com/bixu/paths), but I feel like this would be better provided by ohai. Accessing these attributes might then look like this:

node.default['my_custom_binpath'] = node['binary_path'] + ":/some/string/path"

execute "build my_app" do
  command "make && make install"
  cwd '/path/to/my/src'
  environment => (
  'PATH' => node['my_custom_binpath'],
  'LD_LIBRARY_PATH' => node['library_path']
  )
  not_if "ls #{node['etc_path']}/my_app.conf"
end

Having this built into ohai would go a long way towards fulfilling the promise of truly cross-platform automation (80-90% of the issues I wrestle with on non-Ubuntu platforms are just pathing).

I'm very happy to make a PR with appropriate additions if the Chef folks/community think this is a good idea and that ohai is the right place to abstract this.

(CC'ing some folks I've mentioned this to in the past)

cc/ @sax @meatballhat @juliandunn

linux::network plugin doesn't handle ECMP routes

If you add ECMP routes to yoru routing tables, the output of ip route show looks like:

10.5.4.0/24
        nexthop via 10.5.4.1 dev eth0 weight 1
        nexthop via 10.5.4.2 dev eth0 weight 1

Which linux::network can't parse because it's multipe lines so you get errors like:

DEBUG: Skipping route entry without a device: '10.5.4.0/24
'

(the newline in there is somewhat comical too).

This should probably use -o though that will significanlty change the parsing. In this case that produces this output:

10.5.4.0/24 \        nexthop via 10.5.4.1 dev eth0 weight 1\        nexthop via 10.5.4.2 dev eth0 weight 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.