~ubuntu-branches/ubuntu/precise/puppet/precise-proposed

« back to all changes in this revision

Viewing changes to lib/puppet/provider/service/debian.rb

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-02-08 00:28:43 UTC
  • mfrom: (1.1.22 upstream) (3.1.19 sid)
  • Revision ID: james.westby@ubuntu.com-20110208002843-1xrv7w3vqblrn15m
Tags: 2.6.4-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/puppetmaster-passenger.postinst: Use cacrl instead of hostcrl to
    set the location of the CRL in apache2 configuration. Fix apache2 
    configuration on upgrade as well (LP: #641001)
  - move all puppet dependencies to puppet-common since all the code 
    actually located in puppet-common.
  - move libagueas from a recommend to a dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  # Remove the symlinks
24
24
  def disable
25
25
    update_rc "-f", @resource[:name], "remove"
26
 
    update_rc @resource[:name], "stop", "00", "1", "2", "3", "4", "5", "6", "."
 
26
    update_rc @resource[:name], "disable"
27
27
  end
28
28
 
29
29
  def enabled?
43
43
 
44
44
  def enable
45
45
    update_rc "-f", @resource[:name], "remove"
46
 
    update_rc @resource[:name], "defaults"
 
46
    update_rc @resource[:name], "enable"
47
47
  end
48
48
end