[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

James Turnbull james at lovedthanlost.net
Wed Apr 8 21:48:17 UTC 2009


The following commit has been merged in the master branch:
commit 417023835fb5d175fef3b6a06591a8170a5f81a4
Author: James Turnbull <james at lovedthanlost.net>
Date:   Fri Feb 27 08:00:27 2009 +1100

    Fixed #2025 - gentoo service provider handle only default init level

diff --git a/CHANGELOG b/CHANGELOG
index e7d3dc4..66bf088 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 0.24.8
+    Fixed #2025 - gentoo service provider handle only default init level
+
     Fixed #1910 - updated logcheck
 
     Fixed #1871 - Sensitive information leaked in log reports
diff --git a/lib/puppet/provider/service/gentoo.rb b/lib/puppet/provider/service/gentoo.rb
index 4067dee..d62df1a 100644
--- a/lib/puppet/provider/service/gentoo.rb
+++ b/lib/puppet/provider/service/gentoo.rb
@@ -38,7 +38,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*(boot|default)/
             return :true
         else
             return :false

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list