Skip to content

Please add '/etc/default/salt-minion' to the Ubuntu 'salt-minion' package to properly resolve proxy issues by default #13786

Closed

Description

@petarmaric

As discussed in #11523 (comment) this is needed to make the '*_proxy' environment variables visible to the 'salt-minion' service. If this is not done by the 'salt-minion' Ubuntu package itself the user has to to figure out (took me a while) the source of the problem and resolve it by himself manually.

A sane default has been proposed by @gravyboat in #11523 (comment)

Right now my quick-fix version of /etc/default/salt-minion is:

# Workaround to make the '*_proxy' environment variables visible to the 'salt-minion' service
# See https://github.com/saltstack/salt/pull/11523 for more details

. /etc/environment
export http_proxy=$http_proxy
export https_proxy=$https_proxy
export ftp_proxy=$ftp_proxy
export no_proxy=$no_proxy 

which differs from the old version of /etc/default/salt-minion by including ftp_proxy as well.

Activity

  1. joehealy commented on Jun 27, 2014

    @joehealy
    Contributor

    Got missed in a git commit - sorry about that - will do a new release tonight.

    Joe

  2. petarmaric commented on Jun 27, 2014

    @petarmaric
    Author

    ty

  3. gravyboat commented on Jun 27, 2014

    @gravyboat
    Contributor

    @joehealy Awesome! Thanks for kicking ass and getting this in.

  4. added this to the Approved milestone on Jun 27, 2014
  5. steverweber commented on May 11, 2015

    @steverweber
    Contributor

    this does't seem to be in 2015.2.

  6. stale commented on Nov 6, 2017

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Packagingstale

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions