[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:21:47 UTC 2009


The following commit has been merged in the master branch:
commit 4f67a7c26a5e740fd672b3c4f17e0fd366154840
Author: James Turnbull <james at lovedthanlost.net>
Date:   Fri Nov 28 08:51:21 2008 +1100

    Fixed #1776 - Trivial fix for gentoo service provider

diff --git a/CHANGELOG b/CHANGELOG
index 5ddad97..ec6c37d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 0.24.x
+    Fixed #1776 - Trivial fix for gentoo service provider
+
     Added Rake :ci namespace and CI tasks
 
     Fixed #1767 - Minor fix to emacs mode
diff --git a/lib/puppet/provider/service/gentoo.rb b/lib/puppet/provider/service/gentoo.rb
index c5ba7b5..d84aaf6 100644
--- a/lib/puppet/provider/service/gentoo.rb
+++ b/lib/puppet/provider/service/gentoo.rb
@@ -35,7 +35,7 @@ Puppet::Type.type(:service).provide :gentoo, :parent => :init do
         return :false unless line
 
         # If it's enabled then it will print output showing service | runlevel
-        if output =~ /#{@resource[:name]}\s*|\s*default/
+        if output =~ /#{@resource[:name]}\s*\|\s*default/
             return :true
         else
             return :false

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list