diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 22:13:09 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-19 22:13:09 +0000 |
commit | 41e1285553870f0b425b88a6209fab8733b421b2 (patch) | |
tree | 13a64c5daae19e18f30006cf9dec93eb309c4e96 /lib | |
parent | bcc937a2c65de110f3afc28b84ca8a971ab7e88f (diff) | |
download | puppet-41e1285553870f0b425b88a6209fab8733b421b2.tar.gz puppet-41e1285553870f0b425b88a6209fab8733b421b2.tar.xz puppet-41e1285553870f0b425b88a6209fab8733b421b2.zip |
Reverting changeset [2243]; this apparently causes chkconfig not to work
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2330 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/provider/service/redhat.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/service/redhat.rb b/lib/puppet/provider/service/redhat.rb index 1fdad375a..93cf2fc73 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], :reset) + output += chkconfig(@model[:name], :on) rescue Puppet::ExecutionFailure => detail raise Puppet::Error, "Could not enable %s: %s" % [self.name, detail] |