[Bug 208628] sysutils/puppet38 path to sysutils/daemontools'es commands
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 8 08:03:23 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208628
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 at FreeBSD.org
Reporter: fbsd98816551 at avksrv.org
Assignee: ruby at FreeBSD.org
Flags: maintainer-feedback?(ruby at 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/ instead 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{ provider
=> daemontools;}
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not
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
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 => "/usr/bin/svc", :svstat => "/usr/bin/svstat"
+ commands :svc => "/usr/local/bin/svc", :svstat => "/usr/local/bin/svstat"
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 = path
break
And same have to be for puppet37 and 4 branches
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list