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

Allow custom docker_group and service_name values in run.pp #431

Merged
merged 1 commit into from
Feb 17, 2019

Conversation

esalberg
Copy link
Contributor

Reopening PR #250
The default docker_group can be overridden in init.pp, but run.pp only uses the default params values. Also updated service_name the same way.

@esalberg
Copy link
Contributor Author

All the checks passed! I will note that I did not put an explicit include of the main docker class. Since the rspec tests mock the variables, I don't think testing would cover the case where docker run is used without an include docker somewhere.

Please let me know if you want me to add include docker on the run manifest for this change.

@davejrt
Copy link
Contributor

davejrt commented Feb 17, 2019

Thanks for getting back to us.

The only supported functionality is to use the module with the main class included, even if you can use it without so I am happy that this is all the testing covers

@davejrt davejrt merged commit 8f333f6 into puppetlabs:master Feb 17, 2019
@esalberg
Copy link
Contributor Author

Do you need me to fix the include class in a separate PR? I have an e-mail notification about needing that change, but I can see my change was merged already (thanks!)...

@davejrt
Copy link
Contributor

davejrt commented Feb 19, 2019

Hi @esalberg nope all good. Sorry there was an error in our tests that I fixed. Your code was correct :-) I jumped the gun a little

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