Deploying behind a proxy environment does not work. I was able to install chef-server but failed to download cookbooks. Here are the two issues:
- Chef server install fails even if the shell environments are set
Fix for this is to add the following line to the file /etc/apt/apt.conf.d/00aptitude
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Acquire::http::proxy "http://:3128/";
Acquire::https::proxy "https://:3128/";
Alternatively is to have the install scripts load the proxy configuration
- Failure to download cookbooks
This is happening because of knife does not have the proxy parameters configured.
Deploying behind a proxy environment does not work. I was able to install chef-server but failed to download cookbooks. Here are the two issues:
Fix for this is to add the following line to the file /etc/apt/apt.conf.d/00aptitude
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
Acquire::http::proxy "http://:3128/";
Acquire::https::proxy "https://:3128/";
Alternatively is to have the install scripts load the proxy configuration
This is happening because of knife does not have the proxy parameters configured.