Bug #1056

Rundeck url doesn't work when ldap auth is active

Added by Marcello de Sousa almost 2 years ago. Updated over 1 year ago.

Status:Closed Start:07/20/2011
Priority:Normal Due date:
Assigned to:Ohad Levy % Done:

100%

Category:API
Target version:0.4
Backlog:No Difficulity:
Votes: 1 (View)

Description

Workaround (as suggested by ohad):

in "app/controllers/application_controller.rb" line 94
replace:

  def request_json?
    request.format.json?
  end

with:

  def request_json?
    request.format.json? or request.format.yaml?
  end

Related issues

related to Foreman - Feature #1018: Add rundeck integration support Closed 06/30/2011

Associated revisions

Revision 34f64353a05fd0aa987ea18e8d2e36b1b4894efd
Added by Ohad Levy over 1 year ago

fixes #1056 - Rundeck url doesn't work when ldap auth is active

History

Updated by Marcello de Sousa almost 2 years ago

extra minor bug:

in "app/controllers/hosts_controller.rb" line 561 (the word "description" is misspelled):

{@host.name => { "desciption" =>  @host.comment, "hostname...

should be:
{@host.name => { "description" =>  @host.comment, "hostname...

Updated by Ohad Levy over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Ohad Levy over 1 year ago

  • Assigned to set to Ohad Levy

Also available in: Atom PDF