-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Since Puppet/OpenVox 7/8 agent produces some additional "Notice" strings when it runs.
Notice: Requesting catalog ...
Notice: Catalog compiled by ...
Notice: Applied catalog in ...
[email protected]:~# puppet agent -t
Info: Refreshing CA certificate
Info: CA certificate is unmodified, using existing CA certificate
Info: Refreshing CRL
Info: CRL is unmodified, using existing CRL
Info: Using environment 'develop'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Notice: Requesting catalog from puppet-server.example.com:8140 (192.168.0.1)
Notice: Catalog compiled by puppet-server.example.com
Info: Caching catalog for puppet-server.example.com
Info: Applying configuration version 'puppet-mvp1-develop-9ccaed7e023'
Notice: Applied catalog in 2.97 seconds
And those strings writes to the "empty" reports in foreman:
Probem is in report.rb script.
It catches only Finished catalog run notice messages.
puppet-puppetserver_foreman/files/report.rb
Lines 148 to 151 in 15e539f
| # skipping catalog summary run messages, we dont want them in Foreman's db | |
| next if log.message =~ /^Finished catalog run in \d+.\d+ seconds$/ | |
wall1y and pavel-semenchukov
Metadata
Metadata
Assignees
Labels
No labels