Import misc/ruby-ohai into pkgsrc.

Ohai detects data about your operating system. It can be used
standalone, but it's 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.
This commit is contained in:
jperkin 2014-06-03 13:49:28 +00:00
parent 55c1f7b164
commit 52b580a838
4 changed files with 276 additions and 0 deletions

6
misc/ruby-ohai/DESCR Normal file
View file

@ -0,0 +1,6 @@
Ohai detects data about your operating system. It can be used
standalone, but it's 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.

21
misc/ruby-ohai/Makefile Normal file
View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2014/06/03 13:49:28 jperkin Exp $
DISTNAME= ohai-7.0.4
CATEGORIES= misc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/opscode/ohai
COMMENT= Ohai profiles your system and emits JSON
LICENSE= apache-2.0
DEPENDS+= ${RUBY_PKGPREFIX}-mixlib-cli>=1.5.0:../../devel/ruby-mixlib-cli
DEPENDS+= ${RUBY_PKGPREFIX}-mixlib-config>=2.1.0:../../devel/ruby-mixlib-config
DEPENDS+= ${RUBY_PKGPREFIX}-mixlib-log>=1.6.0:../../devel/ruby-mixlib-log
DEPENDS+= ${RUBY_PKGPREFIX}-mixlib-shellout>=1.4.0:../../devel/ruby-mixlib-shellout
DEPENDS+= ${RUBY_PKGPREFIX}-yajl-ruby>=1.2.0:../../devel/ruby-yajl-ruby
DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=1.16:../../mail/ruby-mime-types
DEPENDS+= ${RUBY_PKGPREFIX}-systemu>=2.5.2:../../misc/ruby-systemu
DEPENDS+= ${RUBY_PKGPREFIX}-ipaddress>=0.8.0:../../net/ruby-ipaddress
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

244
misc/ruby-ohai/PLIST Normal file
View file

@ -0,0 +1,244 @@
@comment $NetBSD: PLIST,v 1.1 2014/06/03 13:49:28 jperkin Exp $
bin/ohai
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/bin/ohai
${GEM_LIBDIR}/docs/man/man1/ohai.1
${GEM_LIBDIR}/lib/ohai.rb
${GEM_LIBDIR}/lib/ohai/application.rb
${GEM_LIBDIR}/lib/ohai/common/dmi.rb
${GEM_LIBDIR}/lib/ohai/config.rb
${GEM_LIBDIR}/lib/ohai/dsl.rb
${GEM_LIBDIR}/lib/ohai/dsl/plugin.rb
${GEM_LIBDIR}/lib/ohai/dsl/plugin/versionvi.rb
${GEM_LIBDIR}/lib/ohai/dsl/plugin/versionvii.rb
${GEM_LIBDIR}/lib/ohai/exception.rb
${GEM_LIBDIR}/lib/ohai/hints.rb
${GEM_LIBDIR}/lib/ohai/loader.rb
${GEM_LIBDIR}/lib/ohai/log.rb
${GEM_LIBDIR}/lib/ohai/mash.rb
${GEM_LIBDIR}/lib/ohai/mixin/command.rb
${GEM_LIBDIR}/lib/ohai/mixin/constant_helper.rb
${GEM_LIBDIR}/lib/ohai/mixin/ec2_metadata.rb
${GEM_LIBDIR}/lib/ohai/mixin/gce_metadata.rb
${GEM_LIBDIR}/lib/ohai/mixin/network_constants.rb
${GEM_LIBDIR}/lib/ohai/mixin/os.rb
${GEM_LIBDIR}/lib/ohai/mixin/seconds_to_human.rb
${GEM_LIBDIR}/lib/ohai/mixin/string.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/kernel.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/aix/uptime.rb
${GEM_LIBDIR}/lib/ohai/plugins/azure.rb
${GEM_LIBDIR}/lib/ohai/plugins/c.rb
${GEM_LIBDIR}/lib/ohai/plugins/chef.rb
${GEM_LIBDIR}/lib/ohai/plugins/cloud.rb
${GEM_LIBDIR}/lib/ohai/plugins/cloud_v2.rb
${GEM_LIBDIR}/lib/ohai/plugins/command.rb
${GEM_LIBDIR}/lib/ohai/plugins/darwin/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/darwin/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/darwin/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/darwin/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/darwin/system_profiler.rb
${GEM_LIBDIR}/lib/ohai/plugins/dmi.rb
${GEM_LIBDIR}/lib/ohai/plugins/ec2.rb
${GEM_LIBDIR}/lib/ohai/plugins/erlang.rb
${GEM_LIBDIR}/lib/ohai/plugins/eucalyptus.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/os.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/freebsd/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/gce.rb
${GEM_LIBDIR}/lib/ohai/plugins/groovy.rb
${GEM_LIBDIR}/lib/ohai/plugins/hostname.rb
${GEM_LIBDIR}/lib/ohai/plugins/init_package.rb
${GEM_LIBDIR}/lib/ohai/plugins/ip_scopes.rb
${GEM_LIBDIR}/lib/ohai/plugins/java.rb
${GEM_LIBDIR}/lib/ohai/plugins/kernel.rb
${GEM_LIBDIR}/lib/ohai/plugins/keys.rb
${GEM_LIBDIR}/lib/ohai/plugins/languages.rb
${GEM_LIBDIR}/lib/ohai/plugins/linode.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/block_device.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/lsb.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/linux/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/lua.rb
${GEM_LIBDIR}/lib/ohai/plugins/mono.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/netbsd/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/network_listeners.rb
${GEM_LIBDIR}/lib/ohai/plugins/nodejs.rb
${GEM_LIBDIR}/lib/ohai/plugins/ohai.rb
${GEM_LIBDIR}/lib/ohai/plugins/ohai_time.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/openbsd/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/openstack.rb
${GEM_LIBDIR}/lib/ohai/plugins/os.rb
${GEM_LIBDIR}/lib/ohai/plugins/passwd.rb
${GEM_LIBDIR}/lib/ohai/plugins/perl.rb
${GEM_LIBDIR}/lib/ohai/plugins/php.rb
${GEM_LIBDIR}/lib/ohai/plugins/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/ps.rb
${GEM_LIBDIR}/lib/ohai/plugins/python.rb
${GEM_LIBDIR}/lib/ohai/plugins/rackspace.rb
${GEM_LIBDIR}/lib/ohai/plugins/root_group.rb
${GEM_LIBDIR}/lib/ohai/plugins/ruby.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/network_route.rb
${GEM_LIBDIR}/lib/ohai/plugins/sigar/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/dmi.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/memory.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/platform.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/solaris2/zpools.rb
${GEM_LIBDIR}/lib/ohai/plugins/ssh_host_key.rb
${GEM_LIBDIR}/lib/ohai/plugins/uptime.rb
${GEM_LIBDIR}/lib/ohai/plugins/virtualization.rb
${GEM_LIBDIR}/lib/ohai/plugins/windows/cpu.rb
${GEM_LIBDIR}/lib/ohai/plugins/windows/filesystem.rb
${GEM_LIBDIR}/lib/ohai/plugins/windows/network.rb
${GEM_LIBDIR}/lib/ohai/plugins/windows/platform.rb
${GEM_LIBDIR}/lib/ohai/provides_map.rb
${GEM_LIBDIR}/lib/ohai/runner.rb
${GEM_LIBDIR}/lib/ohai/system.rb
${GEM_LIBDIR}/lib/ohai/version.rb
${GEM_LIBDIR}/spec/data/plugins/___lib64___libc.so.6.output
${GEM_LIBDIR}/spec/data/plugins/___lib___libc.so.6.output
${GEM_LIBDIR}/spec/data/plugins/cc.output
${GEM_LIBDIR}/spec/data/plugins/cl.output
${GEM_LIBDIR}/spec/data/plugins/devenv.com.output
${GEM_LIBDIR}/spec/data/plugins/env.output
${GEM_LIBDIR}/spec/data/plugins/erl.output
${GEM_LIBDIR}/spec/data/plugins/gcc.output
${GEM_LIBDIR}/spec/data/plugins/groovy.output
${GEM_LIBDIR}/spec/data/plugins/java.output
${GEM_LIBDIR}/spec/data/plugins/lua.output
${GEM_LIBDIR}/spec/data/plugins/messages.rb
${GEM_LIBDIR}/spec/data/plugins/node.output
${GEM_LIBDIR}/spec/data/plugins/perl.output
${GEM_LIBDIR}/spec/data/plugins/php.output
${GEM_LIBDIR}/spec/data/plugins/python.output
${GEM_LIBDIR}/spec/data/plugins/uname.output
${GEM_LIBDIR}/spec/data/plugins/v6message.rb
${GEM_LIBDIR}/spec/data/plugins/v7message.rb
${GEM_LIBDIR}/spec/data/plugins/what.output
${GEM_LIBDIR}/spec/data/plugins/xlc.output
${GEM_LIBDIR}/spec/ohai_spec.rb
${GEM_LIBDIR}/spec/rcov.opts
${GEM_LIBDIR}/spec/spec.opts
${GEM_LIBDIR}/spec/spec_helper.rb
${GEM_LIBDIR}/spec/support/integration_helper.rb
${GEM_LIBDIR}/spec/support/platform_helpers.rb
${GEM_LIBDIR}/spec/unit/dsl/plugin_spec.rb
${GEM_LIBDIR}/spec/unit/hints_spec.rb
${GEM_LIBDIR}/spec/unit/loader_spec.rb
${GEM_LIBDIR}/spec/unit/mixin/command_spec.rb
${GEM_LIBDIR}/spec/unit/mixin/ec2_metadata_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/cpu_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/filesystem_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/network_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/aix/uptime_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/azure_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/c_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/chef_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/cloud_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/cloud_v2_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/cpu_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/network_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/system_profiler_output.rb
${GEM_LIBDIR}/spec/unit/plugins/darwin/system_profiler_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/dmi_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ec2_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/erlang_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/eucalyptus_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/fail_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/freebsd/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/freebsd/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/freebsd/os_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/freebsd/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/freebsd/virtualization_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/gce_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/groovy_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/init_package_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ip_scopes_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/java_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linode_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/cpu_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/filesystem_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/lsb_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/network_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/uptime_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/linux/virtualization_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/lua_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/mono_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/netbsd/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/netbsd/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/netbsd/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/network_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/nodejs_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ohai_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ohai_time_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/openbsd/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/openbsd/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/openbsd/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/openstack_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/os_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/passwd_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/perl_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/php_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/python_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/rackspace_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/root_group_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ruby_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/sigar/network_route_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/cpu_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/hostname_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/kernel_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/memory_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/network_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/platform_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/solaris2/virtualization_spec.rb
${GEM_LIBDIR}/spec/unit/plugins/ssh_host_keys_spec.rb
${GEM_LIBDIR}/spec/unit/provides_map_spec.rb
${GEM_LIBDIR}/spec/unit/runner_spec.rb
${GEM_LIBDIR}/spec/unit/system_spec.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

5
misc/ruby-ohai/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/06/03 13:49:28 jperkin Exp $
SHA1 (ohai-7.0.4.gem) = 778f0937302ddebb7373d03766388b87220fd4f1
RMD160 (ohai-7.0.4.gem) = 67f6772688c43804b7ec3c86653fb76db317061d
Size (ohai-7.0.4.gem) = 410112 bytes