Issue #10219 has been reported by Jacob  McCann.

----------------------------------------
Bug #10219: uninitialized class variable @@scale in 
Puppet::Type::Schedule::ParameterPeriod with ruby 1.9.2
https://projects.puppetlabs.com/issues/10219

Author: Jacob  McCann
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.5
Keywords: 
Branch: 


Trying to update to latest stable ruby 1.9.2 (1.9.2 p290) and ran into:

<pre>
err: Got an uncaught exception of type NameError: uninitialized class variable 
@@scale in Puppet::Type::Schedule::ParameterPeriod
</pre>

Found thread @ 
http://groups.google.com/group/puppet-dev/browse_thread/thread/82f0c5708195e555 
and tried

<blockquote>
changing both occurrences of the variable "@@scale" in 
lib/puppet/type/schedule.rb to "Schedule_scales" (note the capital 
letter) and likewise with "@@methods" to "Schedule_methods" and see if 
that works.
</blockquote>

After doing this it seems to work fine.


-- 
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