projectatomic/adb-atomic-developer-bundle

Use PROXY* as variable instead of constant

Closed this issue · 1 comments

PROXY* entities are declared as constant in Vagrantfile but used as variable like here.

This will have side effect when exporting these entities via terminal as constants in Ruby as global.

/home/budhram/redhat/vagrant-service-manager/Vagrantfile:69: warning: already initialized constant PROXY
/home/budhram/redhat/vagrant-service-manager/Vagrantfile:69: warning: previous definition of PROXY was here
/home/budhram/redhat/vagrant-service-manager/Vagrantfile:94:in `block in <top (required)>': uninitialized constant PROXY_USER (NameError)
	from /home/budhram/.rvm/gems/ruby-2.1.2/bundler/gems/vagrant-bedaeee190b2/lib/vagrant/config/v2/loader.rb:37:in `call'
	from /home/budhram/.rvm/gems/ruby-2.1.2/bundler/gems/vagrant-bedaeee190b2/lib/vagrant/config/v2/loader.rb:37:in `load'
........