About | FAQ | Help
Ask Your Question
1

What does it mean: "warning: class variable access from toplevel"?

asked 2014-05-02 03:14:41 -0500

Adam Ryczkowski gravatar image

updated 2014-05-02 03:15:34 -0500

I get several warnings like that if I run sudo puppet agent --test:

/var/lib/puppet/lib/puppet/provider/module/forge.rb:40: warning: class variable access from toplevel

What exactly these warnings mean from user's perspective? Can I safely ignore them?

edit retag flag offensive close merge delete

Comments

@ffrank You are right. After removing this module, the warning disappeared. Thank you!

Adam Ryczkowski gravatar imageAdam Ryczkowski ( 2014-05-03 11:26:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-02 04:22:41 -0500

ffrank gravatar image

Is it this module? https://github.com/ryanycoleman/puppe... Looks a little unclean with all the @@ syntax, and not entirely safe. Perhaps try and patch that up with some class level accessors?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-05-02 03:14:41 -0500

Seen: 876 times

Last updated: May 02 '14