Revision 5f057702
Added by Ohad Levy over 12 years ago
templates/foreman-report.rb.erb | ||
---|---|---|
# reports=log, foreman # (or any other reports you want)
|
||
|
||
# URL of your Foreman installation
|
||
$foreman_url=<%= scope.lookupvar("http://foreman:3000") %>
|
||
$foreman_url='<%= scope.lookupvar("foreman::params::foreman_url") %>'
|
||
|
||
require 'puppet'
|
||
require 'net/http'
|
Also available in: Unified diff
fixed incorrect var name