Sha256: aff437d6f129d290d588cbaf965797b3b00265cfabdd1d7f524b1fd781220452

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

# Encoding: utf-8
require 'packer/postprocessor'
require 'packer/dataobject'

module Packer
  class PostProcessor < Packer::DataObject
    class Manifest < PostProcessor
      def initialize
        super
        self.data['type'] = MANIFEST
      end

      def output(file)
        self.__add_string('output', file)
      end

      def strip_path(bool)
        self.__add_boolean('strip_path', bool)
      end

      def custom_data(data)
        self.__add_hash('custom_data', data)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
packer-config-1.6.5 lib/packer/postprocessors/manifest.rb
packer-config-1.6.4 lib/packer/postprocessors/manifest.rb