#572 ✓resolved
Greg Schueler

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Pages