export more vars for script plugins (contents basedir, var dir, etc)
Reported by Greg Schueler | May 15th, 2012 @ 05:16 PM | in Rundeck 1.4.3 (closed)
- Issue Type: Improvement
- Rundeck version: 1.4.2
Issue:
Script plugins (resource model source, node executor or file copier) may need some more environment or context variables about install locations, such as:
- rundeck basedir
- plugin contents dir (place where script plugin "contents" dir was expanded)
- var dir for caching data
- temp dir for temp data
These paths should be exported into the script execution context, as environment variables and "context" variables for expansion in the script arguments.
suggested namespaces:
- rundeck.base (rundeck base dir)
- plugin.* (plugin metadata)
- plugin.base (contents base dir)
- plugin.vardir (var dir)
- plugin.tempdir (temp dir)
Comments and changes to this ticket
-
Greg Schueler May 16th, 2012 @ 10:17 AM
(from [05d4b408378feebb4399a0bbe61b7f84ea3c6358]) Add documentation of script-plugin context data
[#572] https://github.com/dtolabs/rundeck/commit/05d4b408378feebb4399a0bbe...
-
Greg Schueler May 16th, 2012 @ 10:17 AM
- State changed from new to needs_verification
(from [56731443fd3fad1437cce7645366b0e8300cfa19]) Export additional context data for scripts
[#572 state:needs_verification] https://github.com/dtolabs/rundeck/commit/56731443fd3fad1437cce7645...
-
Greg Schueler June 19th, 2012 @ 07:42 PM
- State changed from needs_verification to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues