Sha256: b56b3cfca08dd74c6bf538df23e71fdab511f9bbcaecb00e5776f0c23bfdda52

Contents?: true

Size: 253 Bytes

Versions: 48

Compression:

Stored size: 253 Bytes

Contents

class FakeResource < PoolParty::Resource
  
  default_options(
    :name => nil
  )
  def self.has_method_name
    "tester"
  end
          
  def print_to_chef        
    <<-EOE
fake "<%= name %>" do
  content "<%= content %>"
end
    EOE
  end
  
end

Version data entries

48 entries across 48 versions & 3 rubygems

Version Path
poolparty-1.3.14 test/fixtures/resources/fake_resource.rb
poolparty-1.3.13 test/fixtures/resources/fake_resource.rb
poolparty-1.3.8 test/fixtures/resources/fake_resource.rb
poolparty-1.3.7 test/fixtures/resources/fake_resource.rb
poolparty-1.3.6 test/fixtures/resources/fake_resource.rb
poolparty-1.3.4 test/fixtures/resources/fake_resource.rb
poolparty-1.3.3 test/fixtures/resources/fake_resource.rb
poolparty-1.3.1 test/fixtures/resources/fake_resource.rb