init.rb

Path: lib/puppet/provider/service/init.rb
Last Update: Wed Dec 09 12:54:29 -0800 2009

The standard init-based service type. Many other service types are customizations of this module.

Methods

Public Class methods

List all services of this type.

Public Instance methods

Mark that our init script supports ‘status’ commands.

Where is our init script?

The start command is just the init scriptwith ‘start’.

If it was specified that the init script has a ‘status’ command, then we just return that; otherwise, we return false, which causes it to fallback to other mechanisms.

The stop command is just the init script with ‘stop’.

[Validate]