fix the [main] generation

puppet.conf/main.erb mentions the "server", "ca_server" and "report_server" 
variable, that are not present in manifests/init.pp. This results into empty
values in puppet.conf for the above variables. Moving the fragment to
manifests/agent.pp fixes the issue