Revision 14cd3f28
Added by Ohad Levy almost 13 years ago
- ID 14cd3f288e2075aa0a76a27de50586c54758db3f
app/controllers/lookup_keys_controller.rb | ||
---|---|---|
@value = @lookup_key.value_for(host)
|
||
|
||
respond_to do |format|
|
||
format.json { render :json => @value}
|
||
format.json { render :json => { :value => @value } }
|
||
end
|
||
end
|
||
|
extras/puppet | ||
---|---|---|
Subproject commit c933770a724c093fc224e0072e694582a568ad75
|
||
Subproject commit 1fec77660a1d32337fc053a5789bf6116ccd7b31
|
Also available in: Unified diff
updated foreman puppet module to include the smart variables puppet function
this also ensures that the json response from foreman is always in json.
refs #1029