For reference, this is ticket #5908 in the Puppet ticket tracker ( http://projects.puppetlabs.com/issues/5908)
On Wed, Jan 19, 2011 at 7:14 PM, James Turnbull <[email protected]>wrote: > From: martin f krafft <[email protected]> > > > Signed-off-by: James Turnbull <[email protected]> > --- > lib/puppet/provider/service/debian.rb | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/puppet/provider/service/debian.rb > b/lib/puppet/provider/service/debian.rb > index 3d09e28..f3ab221 100755 > --- a/lib/puppet/provider/service/debian.rb > +++ b/lib/puppet/provider/service/debian.rb > @@ -23,7 +23,7 @@ Puppet::Type.type(:service).provide :debian, :parent => > :init do > # Remove the symlinks > def disable > update_rc "-f", @resource[:name], "remove" > - update_rc @resource[:name], "stop", "00", "1", "2", "3", "4", "5", > "6", "." > + update_rc @resource[:name], "disable" > end > > def enabled? > @@ -43,6 +43,6 @@ Puppet::Type.type(:service).provide :debian, :parent => > :init do > > def enable > update_rc "-f", @resource[:name], "remove" > - update_rc @resource[:name], "defaults" > + update_rc @resource[:name], "enable" > end > end > -- > 1.7.3.4 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
