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

CentOS default config is on /etc/sysconfig/jenkins #72

Open
adrori2000 opened this issue Aug 18, 2021 · 0 comments
Open

CentOS default config is on /etc/sysconfig/jenkins #72

adrori2000 opened this issue Aug 18, 2021 · 0 comments

Comments

@adrori2000
Copy link

Expected Behavior

On yum installations jenkins config should be written to /etc/sysconfig/jenkins

Actual Behavior

jenkins config is hard coded to /etc/default/jenkins

Steps to Reproduce the Problem

  1. Use defaults to install jenkins on CentOS/RedHat
  2. Check /etc/sysconfig/jenkins - no config is written
  3. check /etc/default/jenkins - exists but not in use in CentOS

Suggested solution

in tasks/configure-jenkins.yml replace hard coded /etc/default/jenkins with jenkins_config_file which will be autimatically set to /etc/default/jenkins on apt installation and /etc/sysconfig/jenkins on yum installation type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant