Changes from 3.8.7 to 4.10.1 are too many to write here, please refer <https://docs.puppet.com/puppet/latest/release_notes.html> and its links.
15 lines
481 B
Text
15 lines
481 B
Text
$NetBSD: patch-ac,v 1.7 2017/06/12 14:54:53 taca Exp $
|
|
|
|
NetBSD also has its init scripts in /etc/rc.d.
|
|
|
|
--- lib/puppet/provider/service/init.rb.orig 2017-06-07 10:34:56.000000000 +0000
|
|
+++ lib/puppet/provider/service/init.rb
|
|
@@ -9,7 +9,7 @@ Puppet::Type.type(:service).provide :ini
|
|
["/etc/rc.d", "/usr/local/etc/rc.d"]
|
|
when "HP-UX"
|
|
"/sbin/init.d"
|
|
- when "Archlinux"
|
|
+ when "Archlinux", "NetBSD"
|
|
"/etc/rc.d"
|
|
when "AIX"
|
|
"/etc/rc.d/init.d"
|