freebsd-ports/sysutils/rubygem-chef/Makefile
Philip M. Gollucci 51ad2120d1 The chef_client init script should set up the pidfile in
/var/run/chef-client.pid and instruct the chef-client process to write its PID
to this file when daemonizing. Without a pidfile, the status and onestatus
command fall back to process inspection. If chef is run with a resource defined
to :stop the chef_client service, such as chef-client::cron, then the
non-daemonized chef-client process effectivelly kills itself by running
/usr/local/etc/rc.d/chef_client status and /usr/local/etc/rc.d/chef_stop.

Run chef-client manually, then run /usr/local/etc/rc.d/chef_client onestatus.
The status will report chef-client running with the PID of the manually invoked
chef-client process.

- Bump PORTREVISION

Submitted by:   Scott Sanders <ssanders@taximagic.com> (private e-mail)
Approved by:    maintainer (implicit)
Feature safe:   yes
2012-03-22 17:53:44 +00:00

46 lines
1.5 KiB
Makefile

# Ports collection makefile for: rubygem-chef
# Date created: 19 Mar 2010
# Whom: Renaud Chaput <renchap@cocoa-x.com>
#
# $FreeBSD$
#
PORTNAME= chef
PORTVERSION= 0.10.8
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= RG
MAINTAINER= renchap@cocoa-x.com
COMMENT= A systems integration framework. Client part
RUN_DEPENDS= rubygem-mixlib-log>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-log \
rubygem-mixlib-config>=1.1.2:${PORTSDIR}/devel/rubygem-mixlib-config \
rubygem-mixlib-cli>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-cli \
rubygem-mixlib-authentication>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-authentication \
rubygem-json>=1.4.4:${PORTSDIR}/devel/rubygem-json146 \
rubygem-uuidtools>=0:${PORTSDIR}/devel/rubygem-uuidtools \
rubygem-highline>=0:${PORTSDIR}/devel/rubygem-highline \
rubygem-moneta>=0:${PORTSDIR}/devel/rubygem-moneta \
rubygem-erubis>=0:${PORTSDIR}/www/rubygem-erubis \
rubygem-rest-client>=1.0.4:${PORTSDIR}/www/rubygem-rest-client \
rubygem-bunny>=0.6.0:${PORTSDIR}/net/rubygem-bunny \
rubygem-ohai>=0.6.0:${PORTSDIR}/sysutils/rubygem-ohai \
rubygem-net-ssh>=2.1.3:${PORTSDIR}/security/rubygem-net-ssh \
rubygem-net-ssh-multi>=1.1.0:${PORTSDIR}/security/rubygem-net-ssh-multi \
rubygem-treetop>=1.4.9:${PORTSDIR}/devel/rubygem-treetop
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_RUBY_FEATURES= iconv
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/chef-client \
bin/chef-solo \
bin/shef \
bin/knife
SUB_LIST= RUBY=${RUBY}
USE_RC_SUBR= chef_client
.include <bsd.port.mk>