ports/174557: puppet rc script uses wrong $command_interpreter
Garrett Wollman
wollman at csail.mit.edu
Wed Dec 19 00:20:00 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list