[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2013-01-10 Thread tickets

Issue #8974 has been updated by Daniele Sluijters.


Okay, so this is still happening and it's starting to get a bit annoying. This 
seems to have gotten fixed in 3.0 by commit 
[32cc8ff9ab5c236cb3a2e2495ea6fe710f4cd73b](https://github.com/puppetlabs/puppet/commit/32cc8ff9ab5c236cb3a2e2495ea6fe710f4cd73b)
 resulting in this version of 
[freebsd.rb](https://github.com/puppetlabs/puppet/blob/32cc8ff9ab5c236cb3a2e2495ea6fe710f4cd73b/lib/puppet/provider/service/freebsd.rb).

I've tried the fix in that commit on 2.7 with Ruby 1.9.3 and it works fine, now 
we're only left with it throwing a fit about this in `bsd.rb`:
@@rcconf_dir = '/etc/rc.conf.d'

Could we at least get 
[32cc8ff9ab5c236cb3a2e2495ea6fe710f4cd73b](https://github.com/puppetlabs/puppet/commit/32cc8ff9ab5c236cb3a2e2495ea6fe710f4cd73b)
 into 2.7, and fix the issue with `bsd.rb` in the same way?

I can make the changes and send the pull request myself if someone is willing 
to merge this :-).

Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974#change-80890

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: https://github.com/puppetlabs/puppet/pull/444


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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2012-12-06 Thread tickets

Issue #8974 has been updated by Josh Cooper.

Branch set to https://github.com/puppetlabs/puppet/pull/444



Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974#change-78414

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: https://github.com/puppetlabs/puppet/pull/444


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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2012-09-26 Thread tickets

Issue #8974 has been updated by Justin Honold.


Encountering on:

- Amazon Linux AMI release 2012.03
- ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
- puppet (2.7.19)

Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974#change-71831

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2012-02-01 Thread tickets

Issue #8974 has been updated by Grant Heffernan.


I couldn't find a pull request for this, though I may have missed it, so I 
submitted here: https://github.com/puppetlabs/puppet/pull/444

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-12-21 Thread tickets

Issue #8974 has been updated by Grant Heffernan.


Any idea when this might make it into a release? I'm still having the same 
issue with 2.7.9 and because of our somewhat unique deploy methods, the extra 
output is quite problematic.

Thanks!

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-10-12 Thread tickets

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-10-12 Thread tickets

Issue #8974 has been updated by James Turnbull.


Thanks Will! Can you send us a pull request from that branch!

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-10-12 Thread tickets

Issue #8974 has been updated by Will Farrington.


Sent.

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



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-09-02 Thread tickets

Issue #8974 has been updated by Brett Bender.


To silence the warning, one needs to use:

  class_variable_set(:@@foo, value)

rather than:

  @@foo = value

The following works for me:

% gem list puppet
*** LOCAL GEMS ***
puppet (2.7.3)

% ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]

diff -r orig/bsd.rb patched/bsd.rb
11c11
   @@rcconf_dir = '/etc/rc.conf.d'
---
   class_variable_set(:@@rcconf_dir, '/etc/rc.conf.d')
diff -r orig/freebsd.rb patched/freebsd.rb
8,10c8,10
   @@rcconf = '/etc/rc.conf'
   @@rcconf_local = '/etc/rc.conf.local'
   @@rcconf_dir = '/etc/rc.conf.d'
---
   class_variable_set(:@@rcconf,   '/etc/rc.conf')
   class_variable_set(:@@rcconf_local, '/etc/rc.conf.local')
   class_variable_set(:@@rcconf_dir,   '/etc/rc.conf.d')


Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: Needs More Information
Priority: Normal
Assignee: 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-09-02 Thread tickets

Issue #8974 has been updated by Brett Bender.


James, I've now signed the CLA.

Cheers,
Brett

Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: Requires CLA to be signed
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-08-27 Thread tickets

Issue #8974 has been updated by Seren Thompson.


FYI, I was able to reproduce this in 2.7.3:
Ruby: 1.9.2p290:
OS: Ubuntu 10.04.3



/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/puppet/provider/service/bsd.rb:11:
 warning: class variable access from toplevel

/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/puppet/provider/service/freebsd.rb:8:
 warning: class variable access from toplevel

/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/puppet/provider/service/freebsd.rb:9:
 warning: class variable access from toplevel

/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/puppet/provider/service/freebsd.rb:10:
 warning: class variable access from toplevel


Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: Needs More Information
Priority: Normal
Assignee: 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-08-24 Thread tickets

Issue #8974 has been updated by James Turnbull.

Description updated



Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.



[Puppet - Bug #8974] class variable access from toplevel warnings in bsd service

2011-08-24 Thread tickets

Issue #8974 has been updated by Max Lincoln.


This was Ruby 1.9.2.  Remember that 1.9.2 uses /usr/local/lib/ruby/1.9.1.  This 
was noted in the release announcement (http://www.ruby-forum.com/topic/215219)
*
== FAQ
:The standard library is installed in /usr/local/lib/ruby/1.9.1
  This version number is library compatibility version.  Ruby 1.9.2 is
mostly compatible with the 1.9.2, so its library is installed in the
directory.*

Bug #8974: class variable access from toplevel warnings in bsd service
https://projects.puppetlabs.com/issues/8974

Author: Max Lincoln
Status: Rejected
Priority: Normal
Assignee: 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.