-
Notifications
You must be signed in to change notification settings - Fork 567
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
Path to $libdir hardcoded in few manifests #249
Comments
We'd also appreciate having this issue solved. To be truer to the puppet-spirit, maybe all variables in the default/jenkins file should be explicitly managed by the module? This would mean the elegant solution of using create_resources() over $config_hash would need to be rethought, but it would free the admin of having to look at the file to see what arguments are supported. |
The |
* add `manager_user`, `user`, `manage_group`, `group` params to `jenkins` class. * improve consistency of `file` resouce group ownership throughout the module * add 'localstatedir' param to `jenkins` class and consistently use it to set the 'data' base dir throughout the module * Deprecate/noop `username`, `group`, `create_user` params to `jenkins::plugin` define; replaced by `user`,`group`,etc. params to `jenkins` class * Deprecate/noop `plugin_dir` param to `jenkins::plugin`; replaced by `localstatedir` param to `jenkins` class closes voxpupuli#356 -- alternative approach resolves voxpupuli#362 resolves voxpupuli#365 resolves voxpupuli#219 resolves voxpupuli#249
* add `manager_user`, `user`, `manage_group`, `group` params to `jenkins` class. * improve consistency of `file` resouce group ownership throughout the module * add 'localstatedir' param to `jenkins` class and consistently use it to set the 'data' base dir throughout the module * Deprecate/noop `username`, `group`, `create_user` params to `jenkins::plugin` define; replaced by `user`,`group`,etc. params to `jenkins` class * Deprecate/noop `plugin_dir` param to `jenkins::plugin`; replaced by `localstatedir` param to `jenkins` class closes voxpupuli#356 -- alternative approach resolves voxpupuli#362 resolves voxpupuli#365 resolves voxpupuli#219 resolves voxpupuli#249 resolves voxpupuli#250
We needed to deploy Jenkins into alternate location on the file system. To achieve this we had to set the custom $config_hash = { 'JENKINS_HOME' => { 'value' => "$jenkins::params::jenkins_home" },
and different value $jenkins::params::libdir.
However, following modules have a hard coded path to /var/lib/jenkins/.
/plugin.pp
/package.pp
/proxy.pp
/job/present.pp
/job/absent.pp
Suggesting a change to allow for use of $jenkins::params::libdir across all modules.
Also the dedicated $jenkins::params::jenkins_home which would not require $config_hash would be nice.
Robert
The text was updated successfully, but these errors were encountered: