Sha256: ecff31a702b50bf8fb2ac7b8388386d32ac292f096cf29b35511a281cf2c9ffc

Contents?: true

Size: 310 Bytes

Versions: 82

Compression:

Stored size: 310 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module Kernel_V1
    class PackageConfig < Vagrant.plugin("1", :config)
      attr_accessor :name

      def initialize
        @name = UNSET_VALUE
      end

      def upgrade(new)
        new.package.name = @name if @name != UNSET_VALUE
      end
    end
  end
end

Version data entries

82 entries across 75 versions & 13 rubygems

Version Path
vagrant-actionio-0.0.9 vendor/bundle/bundler/gems/vagrant-c74251a1d9c0/plugins/kernel_v1/config/package.rb
vagrant-lxc-0.0.1 vendor/vagrant/plugins/kernel_v1/config/package.rb