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.85 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.88 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.89 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.9 lib/poolparty/pool/resources/service.rb
auser-poolparty-0.2.90 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.91 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.92 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.93 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-0.2.94 lib/poolparty/poolparty/resources/service.rb
auser-poolparty-1.0.0 lib/poolparty/poolparty/resources/service.rb
poolparty-0.2.6 lib/poolparty/pool/resources/service.rb
poolparty-0.2.18 lib/poolparty/pool/resources/service.rb
poolparty-0.2.69 lib/poolparty/pool/resources/service.rb
poolparty-0.2.84 lib/poolparty/poolparty/resources/service.rb