Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.5.3 backports #340

Merged
merged 14 commits into from
Aug 8, 2014
Merged

1.5.3 backports #340

merged 14 commits into from
Aug 8, 2014

Conversation

underscorgan
Copy link

cherry-picked bugfixes from master for a requested 1.5.3 release.

François Conil and others added 14 commits August 8, 2014 09:19
Previous implementation would overwrite the file name and
potentially include characters that would cause apt to ignore
the pref file
Conflicts:
	Gemfile
Gotta love the difference between Ruby 1.8.7 not caring and every
subsequent version exploding.
- The default for $proxy_host is undef
- apt considers $proxy_set to be absent if $proxy_host is undef
- apt::ppa considers proxy_env to be empty if $proxy_host is false or ''

This results in apt::ppa to consider $proxy_host to be set when the default undef is used
breaking ppa resources because $proxy_env becomes:
  [http_proxy=http://:8080, https_proxy=http://:8080]

Fix this by making both apt and apt::ppa consider $proxy_host to be unset when it is
any of false, '', or undef.
New fact was added that matched a regex breaking the always_apt_update
tests.  Updated the tests to check for the apt_update exec, not just the
string apt_update.
apenney pushed a commit that referenced this pull request Aug 8, 2014
@apenney apenney merged commit 159f84d into puppetlabs:1.5.x Aug 8, 2014
@underscorgan underscorgan deleted the 1.5.3-backports branch August 8, 2014 15:41
@LukasAud LukasAud added the bugfix label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants