Fix mcagent report

Set reports to none in order to disable the Puppet
reporting during the deployment. It some cases it
Puppet was failing the deploymnet being unable to
store the report file to the missing Puppet master.

Change-Id: I888316824920f71f6c4953c513eea3a4c277d50b
This commit is contained in:
Dmitry Ilyin 2016-10-18 16:37:21 -07:00
parent d411a2e0f2
commit 2505ab1d8e
1 changed files with 2 additions and 3 deletions

View File

@ -206,10 +206,9 @@ module MCollective
@puppetd_agent,
request.fetch(:manifest, '/etc/puppet/manifests/site.pp'),
"--modulepath=#{request.fetch(:modules, '/etc/puppet/modules')}",
'--logdest',
'syslog',
'--logdest', 'syslog',
'--trace',
'--report'
'--reports', 'none',
]
unless request[:forcerun]
if @splaytime && @splaytime > 0