summaryrefslogtreecommitdiff
path: root/sysutils/puppet/patches/patch-ac
diff options
context:
space:
mode:
authortonnerre <tonnerre>2013-04-10 21:10:54 +0000
committertonnerre <tonnerre>2013-04-10 21:10:54 +0000
commit1ca4b3c8b7533b4d86331453b4804e1ad720c802 (patch)
tree9c793a122c58758f70f397011b83ab7334a24a17 /sysutils/puppet/patches/patch-ac
parentff483b704e419288b6eccb1fe753e5af077ce7c9 (diff)
downloadpkgsrc-1ca4b3c8b7533b4d86331453b4804e1ad720c802.tar.gz
Update Puppet to version 3.1.1 (from 0.25.5!).
Changes are extremely numerous, but your old Puppet rules should still work.
Diffstat (limited to 'sysutils/puppet/patches/patch-ac')
-rw-r--r--sysutils/puppet/patches/patch-ac18
1 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/puppet/patches/patch-ac b/sysutils/puppet/patches/patch-ac
index 724c617e9ff..c981ecd2665 100644
--- a/sysutils/puppet/patches/patch-ac
+++ b/sysutils/puppet/patches/patch-ac
@@ -1,15 +1,15 @@
-$NetBSD: patch-ac,v 1.5 2010/06/11 01:27:58 tonnerre Exp $
+$NetBSD: patch-ac,v 1.6 2013/04/10 21:10:55 tonnerre Exp $
NetBSD also has its init scripts in /etc/rc.d.
---- lib/puppet/provider/service/init.rb
+--- lib/puppet/provider/service/init.rb.orig 2013-04-01 00:44:50.000000000 +0000
+++ lib/puppet/provider/service/init.rb
-@@ -17,6 +17,8 @@ Puppet::Type.type(:service).provide :init, :parent => :base do
- case Facter["operatingsystem"].value
- when "FreeBSD"
- @defpath = ["/etc/rc.d", "/usr/local/etc/rc.d"]
-+ when "NetBSD"
-+ @defpath = "/etc/rc.d"
+@@ -9,7 +9,7 @@ Puppet::Type.type(:service).provide :ini
+ ["/etc/rc.d", "/usr/local/etc/rc.d"]
when "HP-UX"
- @defpath = "/sbin/init.d"
+ "/sbin/init.d"
+- when "Archlinux"
++ when "Archlinux", "NetBSD"
+ "/etc/rc.d"
else
+ "/etc/init.d"