-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
downgrade concat dependency for wider support #435
Comments
The I don't think see an issue with following supported versions of the puppetlabs modules so I'm not opposed a PR. It would then be reverted when a newer supported concat module's released. |
Yup. All sounds reasonable and matches my expectations for workflow, etc. I guess I wasn't clear enough about concat. concat::fragment has supported the ensure parameter for a long time; init.pp does not. As far as I see, only nginx::resource::upstream therefore has the issue with v1.04. I'll know more once I run the spec tests, etc., but here is what I'm looking at:
|
Submitted #437 . We can continue further discussion there. Cheers. |
Per https://forge.puppetlabs.com/puppetlabs/concat , 1.04 is the presently supported version of concat for folks using the newest supported versions of Puppet. 1.0.4 does not have an ensure parameter, making -- as far as I can tell -- nginx::resource::upstream (and only nginx::resource::upstream) the only type in this module that couldn't use an older, better supported version of concat.
While I agree that its desirable to purge any lingering files created by nginx::resource::upstream, would it not be reasonable, in the name of supporting a wider user base, to make a conditional that sets a file resource to 'absent' when that type's ensure parameter is set to 'absent', and -- as happens now -- sets a concat resource accordingly otherwise? Happy to submit a pull request that does so; just want to make sure my notion isn't in conflict with some philosophy I'm not aware of, or some other land mine in downgrading the dependency.
The text was updated successfully, but these errors were encountered: