~ubuntu-branches/ubuntu/lucid/puppet/lucid-security

« back to all changes in this revision

Viewing changes to examples/etc/init.d/sleeper

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-12-23 00:48:10 UTC
  • mfrom: (1.1.10 upstream) (3.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091223004810-3i4oryds922g5n59
Tags: 0.25.1-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - debian/rules:
    + Don't start puppet when first installing puppet.
  - debian/puppet.conf, lib/puppet/defaults.rb:
    + Move templates to /etc/puppet
  - lib/puppet/defaults.rb:
    + Fix /var/lib/puppet/state ownership.
  - man/man8/puppet.conf.8: 
    + Fix broken URL in manpage.
  - debian/control:
    + Update maintainer accordint to spec.
    + Puppetmaster Recommends -> Suggests
    + Created puppet-testsuite as a seperate. Allow the users to run puppet's 
      testsuite.
  - tests/Rakefile: Fix rakefile so that the testsuite can acutally be ran.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
case "$1" in
52
52
    start)
53
53
        start
54
 
        ;;
 
54
    ;;
55
55
    stop)
56
56
        stop
57
 
        ;;
 
57
    ;;
58
58
    restart)
59
59
        stop; start
60
 
        ;;
 
60
    ;;
61
61
    status)
62
62
        output=`status`
63
63
        #status
64
64
        exit $?
65
 
        ;;
66
 
  *)
67
 
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
68
 
        exit 1
69
 
        ;;
 
65
    ;;
 
66
    *)
 
67
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
 
68
        exit 1
 
69
    ;;
70
70
esac
71
71
 
72
72
exit 0