diff options
author | miwi <miwi@FreeBSD.org> | 2010-04-24 19:55:45 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-04-24 19:55:45 +0800 |
commit | 2a4d509f593ab65daf71fc2f900d8e946662323a (patch) | |
tree | 5d533bfe198ecc3d7640efaee5b6c1ba46583bc0 /sysutils/rubygem-ohai | |
parent | 6264fd11eeb05e4b2d237d1f16f17e30c1fb3fe9 (diff) | |
download | freebsd-ports-gnome-2a4d509f593ab65daf71fc2f900d8e946662323a.tar.gz freebsd-ports-gnome-2a4d509f593ab65daf71fc2f900d8e946662323a.tar.zst freebsd-ports-gnome-2a4d509f593ab65daf71fc2f900d8e946662323a.zip |
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>
Diffstat (limited to 'sysutils/rubygem-ohai')
-rw-r--r-- | sysutils/rubygem-ohai/Makefile | 33 | ||||
-rw-r--r-- | sysutils/rubygem-ohai/distinfo | 3 | ||||
-rw-r--r-- | sysutils/rubygem-ohai/pkg-descr | 7 |
3 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/rubygem-ohai/Makefile b/sysutils/rubygem-ohai/Makefile new file mode 100644 index 000000000000..b9a347afb865 --- /dev/null +++ b/sysutils/rubygem-ohai/Makefile @@ -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> diff --git a/sysutils/rubygem-ohai/distinfo b/sysutils/rubygem-ohai/distinfo new file mode 100644 index 000000000000..75b1828ed0e5 --- /dev/null +++ b/sysutils/rubygem-ohai/distinfo @@ -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 diff --git a/sysutils/rubygem-ohai/pkg-descr b/sysutils/rubygem-ohai/pkg-descr new file mode 100644 index 000000000000..c45289a842d8 --- /dev/null +++ b/sysutils/rubygem-ohai/pkg-descr @@ -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 |