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

(MODULES-3872) Updated to provide the ability to disable configuration of PE/FOSS repositories #152

Merged

Conversation

exodusftw
Copy link
Contributor

This is intended to enable users to utilize existing systems management
tools and internally hosted repositories to ensure agent upgrades

configuration of PE/FOSS repositories

This is intended to enable users to utilize existing systems management
tools and internally hosted repositories to ensure agent upgrades
@MikaelSmith
Copy link
Contributor

Seems very useful. 👍

sslcacert => $_sslcacert_path,
sslclientcert => $_sslclientcert_path,
sslclientkey => $_sslclientkey_path,
if $::puppet_agent::manage_repo {
Copy link
Contributor

Choose a reason for hiding this comment

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

If you're not managing the repo, do you really want all the GPG key setup?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For my particular use case, I thought it was beneficial to still have puppet_agent install the gpg keys so there's no need to distribute them through another mechanism and the rpms could be loaded in internal repos without being re-signed.

That said, I could see the argument being made that if the ability to disable repo creation is there, then the same ability should exist for the gpg key.

Copy link
Contributor

Choose a reason for hiding this comment

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

Works for me, putting the gpg keys there shouldn't prevent any other configuration.

@MikaelSmith
Copy link
Contributor

@highb have any other thoughts on this?

@exodusftw
Copy link
Contributor Author

Did you have any issues with the spec tests?

There's probably a more elegant way to handle testing with and without the repos being managed, but I thought the tests were more straightforward if just split into separate with/without contexts

@MikaelSmith
Copy link
Contributor

Yeah, spec tests seemed fine.

@highb
Copy link
Contributor

highb commented Sep 14, 2016

@MikaelSmith @exodusftw This PR is excellent and I'm 👍 from a code perspective after my cursory glance. Have we had a chance to run it through the acceptance tests yet?

@MikaelSmith
Copy link
Contributor

I have not.

@MikaelSmith MikaelSmith changed the title Updated to provide the ability to disable configuration of PE/FOSS repositories (MODULES-3872) Updated to provide the ability to disable configuration of PE/FOSS repositories Sep 15, 2016
@MikaelSmith
Copy link
Contributor

@MikaelSmith
Copy link
Contributor

@highb passed an upgrade from PE 2016.1.2 to 2016.2.1 on centos6-64mcda-centos7-64a.

@MikaelSmith MikaelSmith merged commit fcd381f into puppetlabs:master Sep 16, 2016
@exodusftw
Copy link
Contributor Author

Thanks @MikaelSmith @highb

@exodusftw exodusftw deleted the add_param_to_disable_repo_dropin branch September 23, 2016 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants