Closed ghost closed 8 years ago
@ryankrabath-ws thanks for the PR.
Please update the patch to check for redhat system specifically and set them.
Add also a test case for this.
Thanks
@salimane Thanks for your consideration.
I believe I've covered your requests. Please let me know if you see anything else missing.
Hi @salimane
Is it possible to get this merged, or does it need further work?
Happy to look into any further issues that you see.
@ryankrabath-ws sorry for the delay, I wanted to test this in a centos 6 vm before merging this.
@ryankrabath-ws instead of redhat
, could you use init
?
@salimane During my testing, I found that when using init
as the provider the service does not get set to start at boot. It appears as though we need the enableable
feature, which init
doesn't support:
https://docs.puppet.com/puppet/latest/reference/type.html#service-provider-init https://docs.puppet.com/puppet/latest/reference/type.html#service-provider-redhat
@ryankrabath-ws thanks for the PR.
I believe that Redhat-derived systems are the only ones still using sysv style inits, so they should use the 'redhat' provider.
A reference: https://docs.puppet.com/puppet/latest/reference/type.html#service-provider-redhat