From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 19 00:20:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B825F9F4 for ; Wed, 19 Dec 2012 00:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8709D8FC18 for ; Wed, 19 Dec 2012 00:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBJ0K031045086 for ; Wed, 19 Dec 2012 00:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBJ0K0qN045085; Wed, 19 Dec 2012 00:20:00 GMT (envelope-from gnats) Resent-Date: Wed, 19 Dec 2012 00:20:00 GMT Resent-Message-Id: <201212190020.qBJ0K0qN045085@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D27768D4 for ; Wed, 19 Dec 2012 00:14:10 +0000 (UTC) (envelope-from wollman@xyz.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [IPv6:2001:470:8b2d:1e1c:21b:21ff:feb8:d7b0]) by mx1.freebsd.org (Postfix) with ESMTP id 87DCD8FC0A for ; Wed, 19 Dec 2012 00:14:10 +0000 (UTC) Received: from xyz.csail.mit.edu (xyz.csail.mit.edu [128.31.0.28]) by khavrinen.csail.mit.edu (8.14.5/8.14.5) with ESMTP id qBJ0E8v5046523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO CN= issuer=) for ; Tue, 18 Dec 2012 19:14:09 -0500 (EST) (envelope-from wollman@xyz.csail.mit.edu) Received: (from root@localhost) by xyz.csail.mit.edu (8.14.5/8.14.5/Submit) id qBJ0E8Wh053522; Tue, 18 Dec 2012 19:14:08 -0500 (EST) (envelope-from wollman) Message-Id: <201212190014.qBJ0E8Wh053522@xyz.csail.mit.edu> Date: Tue, 18 Dec 2012 19:14:08 -0500 (EST) From: Garrett Wollman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/174557: puppet rc script uses wrong $command_interpreter X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Garrett Wollman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 00:20:00 -0000 >Number: 174557 >Category: ports >Synopsis: puppet rc script uses wrong $command_interpreter >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 00:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9.1-RC3 amd64 >Organization: MIT Computer Science & Artificial Intelligence Laboratory >Environment: System: FreeBSD xyz.csail.mit.edu 9.1-RC3 FreeBSD 9.1-RC3 #14 r242372M: Thu Nov 1 01:12:44 EDT 2012 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64 Latest Puppet port (3.0.1_2) and Ruby 1.9.3.327,1 >Description: $LOCALBASE/etc/rc.d/puppet specifies that command_interpreter is $LOCALBASE/bin/ruby18. This is wrong when using Ruby 1.9. The error causes (embarrassingly) Puppet to be unable to start itself (using the Puppet::Type::Service::ProviderFreebsd service provider). >How-To-Repeat: Install Puppet port. Run the following manifest: service {'puppet': ensure => running, enable => true, } Watch the fail: Error: undefined method `error' for Service[puppet](provider=freebsd):Puppet::Type::Service::ProviderFreebsd Error: /Stage[main]/Csail::Puppet/Service[puppet]/ensure: change from stopped to running failed: undefined method `error' for Service[puppet](provider=freebsd):Puppet::Type::Service::ProviderFreebsd >Fix: Edit in the correct path when the rc file is installed. >Release-Note: >Audit-Trail: >Unformatted: