Revision 34f64353
Added by Ohad Levy over 12 years ago
- ID 34f64353a05fd0aa987ea18e8d2e36b1b4894efd
app/controllers/facts_controller.rb | ||
---|---|---|
|
||
def index
|
||
# we currently only support JSON in this controller
|
||
return not_found unless request_json?
|
||
return not_found unless api_request?
|
||
|
||
render :json => Puppet::Rails::FactName.all(:select => "name", :conditions => ["fact_names.name <> ?",:timestamp])
|
||
end
|
Also available in: Unified diff
fixes #1056 - Rundeck url doesn't work when ldap auth is active