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

Remove unnecessary hocon require, add write_conf method #16

Merged

Conversation

highb
Copy link

@highb highb commented Jun 22, 2015

Prior to this commit we had a separate config_saver module
for saving the hocon config to disk. This module was requiring
the hocon gem without Puppet feature protection. This was causing
requirement issues on the Puppet Server side, where the hocon gem
is not typically installed.

This commit moves the code from config saver into the main hocon
provider, as the method write_conf. This removes the unnecessary
require, and cleans up the unnecessary config_saver module.

Prior to this commit we had a separate config_saver module
for saving the hocon config to disk. This module was requiring
the hocon gem without Puppet feature protection. This was causing
requirement issues on the Puppet Server side, where the hocon gem
is not typically installed.
This commit moves the code from config saver into the main hocon
provider, as the method write_conf. This removes the unnecessary
require, and cleans up the unnecessary config_saver module.
@jpinsonault
Copy link
Contributor

Looks good to me assuming travis passes.

@highb
Copy link
Author

highb commented Jun 22, 2015

Whenever that happens.

@highb
Copy link
Author

highb commented Jun 22, 2015

@jpinsonault CI passed. :)

@jpinsonault
Copy link
Contributor

Since it's such a simple change I'll go ahead and merge it. Mentioning @fpringvaldsen because he will want to know the PR exists I'm sure

jpinsonault added a commit that referenced this pull request Jun 22, 2015
Remove unnecessary hocon require, add write_conf method
@jpinsonault jpinsonault merged commit 2a24856 into puppetlabs:master Jun 22, 2015
@highb highb deleted the fix/remove_unnecessary_hocon_require branch June 22, 2015 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants