[PATCH/foreman 1/1] Signed-off-by: Alexander Chuzhoy <sashac88@hotmail.com>

This is to overcome the following messages when executing "puppetd -t" on a client.
warning: You have configuration parameter $environment specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent]
warning: You have configuration parameter $ignoreschedules specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent]
warning: You have configuration parameter $certname specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent]
warning: You have configuration parameter $server specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent]
warning: You have configuration parameter $report specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent]

··· From: Alexander Chuzhoy --- app/views/unattended/snippets/_puppet.conf.erb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/views/unattended/snippets/_puppet.conf.erb b/app/views/unattended/snippets/_puppet.conf.erb
index e86c76f…c5c7d81 100644
— a/app/views/unattended/snippets/_puppet.conf.erb
+++ b/app/views/unattended/snippets/_puppet.conf.erb
@@ -6,7 +6,7 @@ ssldir = $vardir/ssl
pluginsource = puppet://$server/plugins
environments = <%= @host.environment %>

-[puppetd]
+[agent]
factsync = true
report = true
ignoreschedules = true

1.7.1