Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Local script option provider

#311

I would like to have a way to call a local script/command which outputs JSON, and use this as an options provider. Most options provider scripts are run on the rundeck server anyway, and this would reduce the need for separate CGI infrastructure.

For example, I might want to pick out of a list of files to process in a directory. A local command could take ls output and format it into JSON. Would be much simpler to craft a ls/sed one-liner to do this than to set up a CGI script.

Reported by Moses Lei · May 27th, 2011 @ 11:36 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Deleted User
    Deleted User

    This was considered, but we concluded that the potential for abuse might out weight the benefit. By focusing on the URL as the primary interface, the need to operate another option for reading values is not needed (file:/// is a url).

    May 27th, 2011 @ 12:39 PM

  2. Deleted User
    Deleted User

    You bring up a good point about the default configuration of RunDeck. For your proposed idea, would these local script options be run as the rundeck user or the user of the java process?

    May 27th, 2011 @ 01:24 PM

  3. Alex-SF
    Alex-SF
    • Milestone cleared.
    • Milestone order changed from 45 to 0

    June 8th, 2011 @ 08:42 AM

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.