summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider/service/redhat.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-28 06:52:10 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-28 06:52:10 +0000
commitff9ec47e4b9b13c043c41e5b74a0b0fb82ba8ba5 (patch)
tree484a7badf308c42cab9ebfebec74be7d87d49364 /lib/puppet/provider/service/redhat.rb
parentcc260268a88f69a6bb28535b17ced7228aa71314 (diff)
downloadpuppet-ff9ec47e4b9b13c043c41e5b74a0b0fb82ba8ba5.tar.gz
puppet-ff9ec47e4b9b13c043c41e5b74a0b0fb82ba8ba5.tar.xz
puppet-ff9ec47e4b9b13c043c41e5b74a0b0fb82ba8ba5.zip
Applying patch in #528 by ask.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2243 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/provider/service/redhat.rb')
-rwxr-xr-xlib/puppet/provider/service/redhat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/service/redhat.rb b/lib/puppet/provider/service/redhat.rb
index 93cf2fc73..1fdad375a 100755
--- a/lib/puppet/provider/service/redhat.rb
+++ b/lib/puppet/provider/service/redhat.rb
@@ -48,7 +48,7 @@ Puppet::Type.type(:service).provide :redhat, :parent => :init do
def enable
begin
output = chkconfig("--add", @model[:name])
- output += chkconfig(@model[:name], :on)
+ output += chkconfig(@model[:name], :reset)
rescue Puppet::ExecutionFailure => detail
raise Puppet::Error, "Could not enable %s: %s" %
[self.name, detail]