diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-04-03 20:59:51 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-04-03 20:59:51 +1100 |
commit | 2036d22cfa950ed84957427b98f69c1719b64dd7 (patch) | |
tree | dd496f9c940acf43b681e5c13a0e68c45c9374a2 /lib | |
parent | 1c02749e8b54616043f728ed18ddec1dc4353a2d (diff) | |
download | puppet-2036d22cfa950ed84957427b98f69c1719b64dd7.tar.gz puppet-2036d22cfa950ed84957427b98f69c1719b64dd7.tar.xz puppet-2036d22cfa950ed84957427b98f69c1719b64dd7.zip |
Fixes debian service enabled/disable issue as detailed in #1161.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/provider/service/debian.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/service/debian.rb b/lib/puppet/provider/service/debian.rb index f0f6fe1ef..da38c10a2 100755 --- a/lib/puppet/provider/service/debian.rb +++ b/lib/puppet/provider/service/debian.rb @@ -22,7 +22,7 @@ Puppet::Type.type(:service).provide :debian, :parent => :init do # If it's enabled, then it will print output showing removal of # links. - if output =~ /etc\/rc[\dS].d|not installed/ + if output =~ /etc\/rc[\dS].d\/S|not installed/ return :true else return :false |