Issue #8974 has been updated by Will Farrington.

Hey James,

We're seeing these warnings in several places as well. I've updated the diff 
from above with some changes to remove similar warnings in other places.

I've forked the main puppet repo and created a branch with the changes: 
https://github.com/wfarr/puppet/tree/ticket/8974/class-variable-access-warnings

I've also agreed to the CLA linked in the top bar.
----------------------------------------
Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Brett Bender
Category: ruby19
Target version: 
Affected Puppet version: 2.7.1
Keywords: 
Branch: 


Running puppet 2.7.1 on:
 
 * Rackspace
 * RHEL 5.6

I get these warnings:
<pre>
/usr/local/lib/ruby/gems/1.9.1/gems/puppet-2.7.1/lib/puppet/provider/service/freebsd.rb:8:
 warning: class variable access from toplevel
/usr/local/lib/ruby/gems/1.9.1/gems/puppet-2.7.1/lib/puppet/provider/service/freebsd.rb:9:
 warning: class variable access from toplevel
/usr/local/lib/ruby/gems/1.9.1/gems/puppet-2.7.1/lib/puppet/provider/service/freebsd.rb:10:
 warning: class variable access from toplevel
/usr/local/lib/ruby/gems/1.9.1/gems/puppet-2.7.1/lib/puppet/provider/service/bsd.rb:11:
 warning: class variable access from toplevel
</pre>


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to