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

Rely more on puppetlabs-apt #494

Merged
merged 1 commit into from
Oct 31, 2018
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Oct 31, 2018

This refactors the code to rely more on puppetlabs-apt features. It passes in the key and lets apt::source define apt::key for us.

Puppetlabs-apt also knows better when apt-transport-https is actually needed. On the most recent Debian/Ubuntu releases it doesn't even exist anymore since apt handles it out of the box.

It also removes the absolute resource notation which is no longer needed.

This refactors the code to rely more on puppetlabs-apt features. It
passes in the key and lets apt::source define apt::key for us.

Puppetlabs-apt also knows better when apt-transport-https is actually
needed. On the most recent Debian/Ubuntu releases it doesn't even exist
anymore since apt handles it out of the box.

It also removes the absolute resource notation which is no longer
needed.
Copy link
Member

@dhollinger dhollinger left a comment

Choose a reason for hiding this comment

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

LGTM

@ekohl
Copy link
Member Author

ekohl commented Oct 31, 2018

@RedChops would you be able to test and verify this works for you?

@RedChops
Copy link

@ekohl I just implemented the patch and it seems to have applied nicely without a change on my nodes!

@ekohl ekohl added the enhancement New feature or request label Oct 31, 2018
@ekohl ekohl merged commit 4bd7ea2 into voxpupuli:master Oct 31, 2018
@ekohl ekohl deleted the repo-refactor-debian branch October 31, 2018 16:34
@ekohl
Copy link
Member Author

ekohl commented Oct 31, 2018

Thanks for testing @RedChops!

I've marked it as enhancement because strictly speaking we do change the behavior a bit. By passing $key in directly it's possible to directly change the apt::key resource. Also it's not a trivial bug fix IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants