Foreman is not getting reports from puppet master

Hi,

I have installed a foreman 1.4.2, and it is not importing reports from the
puppet master. In my puppet agent I have set <report = true> in puppet.conf
file. In the puppet master I have set <report = log, foreman> and in
foreman.rb file I have set $foreman_url='<%= @foreman_url %>' to
$foreman_url='ubuntu1.puppetmaster.com' which is my hostname. But I have
not edited these lines on foreman.rb and kept it as default.
$foreman_ssl_ca = "<%= @ssl_ca -%>"

$foreman_ssl_cert = "<%= @ssl_cert -%>"
$foreman_ssl_key = "<%= @ssl_key -%>"

But My foreman in not getting any reports.Thanks.