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

Add time zone support to chef-jenkins #24

Closed
wants to merge 5 commits into from

Conversation

jordandm
Copy link

I have made changes to chef-jenkins to support the addition of a time zone attribute (node.jenkins.time_zone). This allows you to configure the jenkins time zone via chef.

In the process, of working this issue, I also discovered that if you restart a chef-jenkins install of jenkins using the service command, that a different config file (/etc/sysconfig/jenkins) vs. the config file created by chef-jenkins.

To address this issue, I have modified jenkins::default to remove the config file at /etc/sysconfig/jenkins and link it to /etc/default/jenkins.

I believe these are positive additions to chef-jenkins. Hopefully, you will accept them.

Jordan Dea-Mattson added 5 commits December 12, 2012 17:35
…o be used as a JENKINS_JAVA_OPTIONS argument.
…t to have an option to run headless and another for the time zone (which is captured from node.jenkins.time_zone)
…ysconfig/jenkins and then link /etc/default/jenkins to /etc/sysconfig/jenkins. This ensures that if jenkins is restarted via service at the command line, then we will use the same jenkins config file that is used when jenkins is started by chef.
@fujin fujin closed this Feb 28, 2013
@patcon
Copy link
Contributor

patcon commented Mar 1, 2013

See #23 :)

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

Successfully merging this pull request may close these issues.

3 participants