Sha256: 5c26ba7cf80edff6522da92c7d1be4a32c0fb646beb1768e2380cbddf27d8b8e

Contents?: true

Size: 315 Bytes

Versions: 74

Compression:

Stored size: 315 Bytes

Contents

module PoolParty    
  module Resources
        
    class Service < Resource
      
      default_options({
        :ensure => "running",
        :name => nil,
        :enable => true
      })
      
      def present
        "running"
      end
      def absent
        "stopping"
      end
    end
    
  end
end

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
auser-poolparty-0.2.15 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.16 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.2 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.20 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.21 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.22 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.23 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.24 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.25 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.26 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.3 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.35 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.36 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.37 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.38 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.39 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.4 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.40 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.41 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.42 lib/poolparty/pool/resources/service.rb