Issue #19148 has been updated by Jeff McCune.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 3.x to 3.2.0

Thank you for contributing to Puppet!

Merged into master as 4c9aa49.

This should be released in Puppet 3.2.

Thanks again for the contribution!

-Jeff
----------------------------------------
Refactor #19148: Nagios types cause noisy runs
https://projects.puppetlabs.com/issues/19148#change-82848

Author: Richard Clamp
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: nagios
Target version: 3.2.0
Affected Puppet version: 
Keywords: nagios naginator racc
Branch: https://github.com/puppetlabs/puppet/pull/1466


Using the naginator providers leads to a noisy run.

    $ puppet apply -e 'nagios_host {"foo":}'
    racc/parser.rb:27: warning: already initialized constant 
Racc_Runtime_Version
    racc/parser.rb:28: warning: already initialized constant 
Racc_Runtime_Revision
    racc/parser.rb:30: warning: already initialized constant 
Racc_Runtime_Core_Version_R
    racc/parser.rb:31: warning: already initialized constant 
Racc_Runtime_Core_Revision_R
    racc/parser.rb:35: warning: already initialized constant 
Racc_Runtime_Core_Revision_C
    racc/parser.rb:39: warning: already initialized constant 
Racc_Main_Parsing_Routine
    racc/parser.rb:40: warning: already initialized constant 
Racc_YY_Parse_Method
    racc/parser.rb:41: warning: already initialized constant 
Racc_Runtime_Core_Version
    racc/parser.rb:42: warning: already initialized constant 
Racc_Runtime_Core_Revision
    racc/parser.rb:43: warning: already initialized constant Racc_Runtime_Type
    Finished catalog run in 0.08 seconds
    
    $ puppet --version
    r3.0.1

    $ ruby -v
    ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
    

This is because the naginator parser embeds a racc runtime, where the DSL just 
loads the one from the ruby DSL. 

I have a fix for this but I think it's a little large to count under the 
trivial patch policy.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to