lib/poolparty/resources/service.rb in auser-poolparty-1.2.2 vs lib/poolparty/resources/service.rb in auser-poolparty-1.2.3
- old
+ new
@@ -21,11 +21,12 @@
has_service(:name => "apache2")
=end
class Service < Resource
+ dsl_methods :name # Name of the service
+
default_options({
- :ensures => "enable",
:enable => true
})
def present
:start
\ No newline at end of file