Skip to content

[US246]: Proxy support #499

@devx

Description

@devx

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:

  1. 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
  2. Failure to download cookbooks
    This is happening because of knife does not have the proxy parameters configured.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions