init.rb

Path: lib/puppet/provider/service/init.rb
Last Update: Fri Aug 03 10:17:44 +0000 2012

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]