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

apt: Add proxy support on the class. #446

Merged
merged 2 commits into from
Feb 27, 2015
Merged

apt: Add proxy support on the class. #446

merged 2 commits into from
Feb 27, 2015

Conversation

daenney
Copy link

@daenney daenney commented Feb 27, 2015

Re-introduce proxy support at the class level. Needing to configure a proxy is such a common scenario that having it on the class is a reasonable thing. It also affects apt::ppa.

Change apt::ppa to no longer have its own proxy parameter but use the proxy as configured on the main apt class.

Most options can and should be named through symbols, makes it much
easier to read too with syntax highlighting.
@daenney daenney added this to the 2.0 milestone Feb 27, 2015
}
if $proxy['https'] {
validate_bool($proxy['https'])
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we can use the type system we'll be able to simply do all this validation with a Struct declaration. How I long for that day...

@underscorgan underscorgan assigned daenney and unassigned underscorgan Feb 27, 2015
@underscorgan
Copy link

@daenney back to you!

Re-introduce proxy support at the class level. Needing to configure a
proxy is such a common scenario that having it on the class is a
reasonable thing. It also affects `apt::ppa`.

Change `apt::ppa` to no longer have its own `proxy` parameter but use
the proxy as configured on the main `apt` class.
@daenney daenney assigned underscorgan and unassigned daenney Feb 27, 2015
@daenney
Copy link
Author

daenney commented Feb 27, 2015

@mhaskel Fixed, your turn!

underscorgan pushed a commit that referenced this pull request Feb 27, 2015
apt: Add proxy support on the class.
@underscorgan underscorgan merged commit aae853b into next Feb 27, 2015
@underscorgan underscorgan deleted the daenney/apt-proxy branch March 19, 2015 23:52
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.

3 participants