-
Notifications
You must be signed in to change notification settings - Fork 565
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
A bit of RedHat and Debian slave initd script merging #171
Conversation
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
Thank you for adding this. Hopefully this fix is suitable for merge. |
It looks like this can't be merged automatically. I'll try to rework this pull request and resolve the conflicts |
Add -mode flag to Debian slave start script Use a single /etc/defaults or /etc/sysconfig file for both OSes Do not customize /etc/init.d/jenkins-slave, do it in sysconfig or defaults Log output to file in RedHat Compose slave arguments in shell script
13da477
to
a22888f
Compare
I have rebased against master |
@carlossg If you're at PuppetConf we can hack on this together? :) |
@rtyler unfortunately not this year, but hanging on irc |
I'm going to fix some of the lint warnings after merging |
A bit of RedHat and Debian slave initd script merging
To avoid duplication and mismatches between Debian and RedHat, use initd scripts, both configured with a common
/etc/defaults/jenkins-slave
in Debian and/etc/sysconfig/jenkins-slave
in RedHatAdd -mode flag to Debian slave start script
Use a single /etc/defaults or /etc/sysconfig file for both OSes
Do not customize /etc/init.d/jenkins-slave, do it in sysconfig or defaults
Log output to file in RedHat
Compose slave arguments in shell script