Hello guys,I have a few nodes behind the firewall. In order to be able to install gems I've got squid setup on one of the nodes outside firewall.Now I need to provide :http_proxy option to the gem_package resource somehow.I need that on the nodes which are behind the firewall. I also do not want to modify gem_package resources in all my cookbooks by adding "options { :http_proxy => 'http://proxy.host:3128' }"Is there a nice way to set the "default" options which will be applied to all gem_package resources only on the nodes behind the firewall ?I see the only way to patch the Chef::Resource::GemPackage#options#options by reopenning the class and overriding method somewhere in /etc/chef/client.rbAre there any better ways to do that ?Thank you,Max
Archive powered by MHonArc 2.6.16.