From owner-freebsd-ports-bugs@freebsd.org Fri Apr 8 08:03:23 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAAC5B08744 for ; Fri, 8 Apr 2016 08:03:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92B8C1543 for ; Fri, 8 Apr 2016 08:03:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3883NSG075934 for ; Fri, 8 Apr 2016 08:03:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208628] sysutils/puppet38 path to sysutils/daemontools'es commands Date: Fri, 08 Apr 2016 08:03:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbsd98816551@avksrv.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 08:03:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208628 Bug ID: 208628 Summary: sysutils/puppet38 path to sysutils/daemontools'es commands Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ruby@FreeBSD.org Reporter: fbsd98816551@avksrv.org Assignee: ruby@FreeBSD.org Flags: maintainer-feedback?(ruby@FreeBSD.org) Due FreeBSD port's executables installed to /usr/local by default, puppet's default path-es to executables have to be changed to /usr/local/bin/ instea= d of default /usr/bin (and default root dir for svcscan is /var/service, not /service) without changes puppet generate an error when we try to use service{ provid= er =3D> daemontools;} Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does n= ot exist Provider daemontools is not functional on this host next patch fix the problem --- ./puppet-3.8.4/lib/puppet/provider/service/daemontools.rb.orig=20=20=20= =20=20 2016-04-08 10:46:37.767082000 +0300 +++ ./puppet-3.8.4/lib/puppet/provider/service/daemontools.rb 2016-04-08 10:47:49.370475000 +0300 @@ -39,7 +39,7 @@ EOT - commands :svc =3D> "/usr/bin/svc", :svstat =3D> "/usr/bin/svstat" + commands :svc =3D> "/usr/local/bin/svc", :svstat =3D> "/usr/local/bin/s= vstat" class << self attr_writer :defpath @@ -88,7 +88,7 @@ # find the service dir on this node def servicedir unless @servicedir - ["/service", "/etc/service","/var/lib/svscan"].each do |path| + ["/var/service", "/etc/service","/var/lib/svscan"].each do |path| if Puppet::FileSystem.exist?(path) @servicedir =3D path break And same have to be for puppet37 and 4 branches --=20 You are receiving this mail because: You are the assignee for the bug.=