1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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.

WWW: http://wiki.opscode.com/display/ohai/Home

PR:		ports/145850
Submitted by:	Renaud Chaput <renchap at cocoa-x.com>
This commit is contained in:
Martin Wilke 2010-04-24 11:55:45 +00:00
parent de3cf2d25d
commit ca11f7bb6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253167
4 changed files with 44 additions and 0 deletions

View File

@ -717,6 +717,7 @@
SUBDIR += rubygem-bundler
SUBDIR += rubygem-capistrano
SUBDIR += rubygem-god
SUBDIR += rubygem-ohai
SUBDIR += runit
SUBDIR += runwhen
SUBDIR += safe-rm

View File

@ -0,0 +1,33 @@
# Ports collection makefile for: rubygem-ohai
# Date created: 18 Mar 2010
# Whom: Renaud Chaput <renchap@cocoa-x.com>
#
# $FreeBSD$
#
PORTNAME= ohai
PORTVERSION= 0.5.0
CATEGORIES= sysutils
MASTER_SITES= http://gemcutter.org/gems/
MAINTAINER= renchap@cocoa-x.com
COMMENT= Ohai profiles your system and emits JSON
BUILD_DEPENDS= rubygem-mixlib-log>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-log \
rubygem-mixlib-config>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-config \
rubygem-mixlib-cli>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-cli \
rubygem-systemu>=1.2.0:${PORTSDIR}/devel/rubygem-systemu \
rubygem-extlib>=0.9.14:${PORTSDIR}/devel/rubygem-extlib \
rubygem-json>=1.1.9:${PORTSDIR}/devel/rubygem-json
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/ohai
# we care about not passing -A to allow HTTP redirects
FETCH_ARGS= -pRr
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (rubygem/ohai-0.5.0.gem) = c732696877356d9fef48ac07d18dc7e5
SHA256 (rubygem/ohai-0.5.0.gem) = 914bd9a485b10faf1ff85f53fcb8acbea8e922af693b4f1a495dfb5092d11688
SIZE (rubygem/ohai-0.5.0.gem) = 56320

View File

@ -0,0 +1,7 @@
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.
WWW: http://wiki.opscode.com/display/ohai/Home