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

Create enable_storeconfigs option for puppet::master::config #298

Merged
merged 2 commits into from
Oct 18, 2019
Merged

Create enable_storeconfigs option for puppet::master::config #298

merged 2 commits into from
Oct 18, 2019

Conversation

gcoxmoz
Copy link
Contributor

@gcoxmoz gcoxmoz commented Sep 13, 2019

(MODULES-9905) Create enable_storeconfigs option for puppet::master::config

This creates a flag to allow the removal of 'storeconfigs' and 'storeconfigs_backend' directives from puppet.conf when those directives are managed by the module.

No tests are included here because there was no unit test to begin with(?!).

@austb
Copy link
Contributor

austb commented Sep 13, 2019

Hi @gcoxmoz! Thanks for the contribution! Can you elaborate on your use case a bit? Generally I just want to make sure there's a reasonable time to be managing both PuppetDB and the Puppet Master's storeconfigs with the PuppetDB module, but not sending the data to PuppetDB from Puppet runs.

@gcoxmoz
Copy link
Contributor Author

gcoxmoz commented Sep 13, 2019

Sure, the use case here was to be able to temporarily sever contact between puppetserver and puppetdb during a prolonged outage of puppetdb. Dropping 'puppetdb' out the 'reports' line was easy, but taking out 'storeconfigs' meant having to touch the puppet.conf on the server by hand instead of being able to turn it off in hiera.

Copy link
Contributor

@austb austb left a comment

Choose a reason for hiding this comment

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

Sounds reasonable to me, just one change requested. And I'll probably add tests before releasing it.

manifests/master/storeconfigs.pp Outdated Show resolved Hide resolved
@gcoxmoz gcoxmoz requested a review from austb October 9, 2019 22:04
@austb austb merged commit 92428be into puppetlabs:master Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants