Sha256: a7a823d20cd40dc6371b0f832fc419534e2a3fc0eed807dd59988d4294f6f0e8
Contents?: true
Size: 636 Bytes
Versions: 9
Compression:
Stored size: 636 Bytes
Contents
module PoolParty module Resources =begin rdoc == Service The service resource specifies a service that must be running on the nodes == Usage has_service(:name => '...') do # More options. # This block is optional end == Options * <tt>name</tt> Name of the service to be running == Examples has_service(:name => "apache2") =end class Service < Resource dsl_methods :name # Name of the service default_options({ :enable => true }) def present :start end def absent :stop end end end end
Version data entries
9 entries across 9 versions & 2 rubygems