Project

General

Profile

« Previous | Next » 

Revision 5f057702

Added by Ohad Levy over 12 years ago

fixed incorrect var name

View differences:

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