lib/vagrant-proxyconf/config/yum_proxy.rb
require 'vagrant'
require_relative 'key_mixin'
module VagrantPlugins
module ProxyConf
module Config
# Proxy configuration for Yum
#
# @!parse class YumProxy < Vagrant::Plugin::V2::Config; end
class YumProxy < Vagrant.plugin('2', :config)
include KeyMixin
# @!parse extend KeyMixin::ClassMethods
# @return [String] the HTTP proxy
key :http, env_var: 'VAGRANT_YUM_HTTP_PROXY'
end
end
end
end