Sha256: 9e16b94b7dc44e7a8b0a24b431515140fbf7719f505e80ca5af02fccb2a4e63e

Contents?: true

Size: 424 Bytes

Versions: 22

Compression:

Stored size: 424 Bytes

Contents

module PoolParty
  module Resources
    
    class FakePlugin < Resource
      
      def self.has_method_name
        "fake_plugin"
      end
      
      def name
        "fake_plugin"
      end
      
      def after_loaded
        has_file "/etc/my_configs/special_config" do
          requires get_directory("/etc/my_configs")
        end
        has_directory("/etc/my_configs")
      end
      
    end
    
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
poolparty-1.4.1 test/fixtures/resources/fake_plugin.rb
poolparty-1.4.0 test/fixtures/resources/fake_plugin.rb