lib/poolparty/resources/service.rb in auser-poolparty-1.1.7 vs lib/poolparty/resources/service.rb in auser-poolparty-1.2.0
- old
+ new
@@ -1,7 +1,27 @@
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
default_options({
:ensures => "enable",
:enable => true
\ No newline at end of file