Issue #6555 has been updated by Matt Robinson.

Status changed from Ready For Checkin to Available In Testing Branch

The puppet master still fails to start with these patches, it just gets a 
little farther.  You get a slew of other errors (below), but I've merged in the 
changes and verified all specs and tests still pass on ruby 1.8.7.  Also, I 
rebased the patches onto next since that's where Nigel set the target.

<pre>
info: Redefining file in Puppet::Type
/Users/matthewrobinson/work/puppet/lib/puppet/util/classgen.rb:134:in 
`remove_const'
/Users/matthewrobinson/work/puppet/lib/puppet/util/classgen.rb:134:in 
`handleclassconst'
/Users/matthewrobinson/work/puppet/lib/puppet/util/classgen.rb:108:in `genthing'
/Users/matthewrobinson/work/puppet/lib/puppet/util/classgen.rb:28:in `genclass'
/Users/matthewrobinson/work/puppet/lib/puppet/metatype/manager.rb:71:in 
`newtype'
/Users/matthewrobinson/work/puppet/lib/puppet/type/file.rb:12:in `<top 
(required)>'
/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:79:in 
`load'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:79:in 
`block in 
load'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:75:in 
`each'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:75:in 
`load'
/Users/matthewrobinson/work/puppet/lib/puppet/metatype/manager.rb:124:in 
`type'/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:228:in 
`resource_type'/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:417:in 
`parse_title'/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:234:in 
`to_hash'/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:243:in 
`uniqueness_key'
/Users/matthewrobinson/work/puppet/lib/puppet/resource/catalog.rb:374:in 
`resource'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:565:in `block in 
to_catalog'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:562:in `each'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:562:in 
`to_catalog'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:621:in `block in 
use'
/Users/matthewrobinson/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/sync.rb:225:in
 `sync_synchronize'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:615:in `use'
/Users/matthewrobinson/work/puppet/lib/puppet/application/master.rb:225:in 
`setup'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:304:in `block in 
run'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:395:in 
`exit_on_fail'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:304:in 
`run'/Users/matthewrobinson/work/puppet/sbin/puppetmasterd:4:in 
`<main>'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:87:in 
`rescue in block in load'
/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:78:in `block in 
load'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:75:in 
`each'/Users/matthewrobinson/work/puppet/lib/puppet/util/autoload.rb:75:in 
`load'
/Users/matthewrobinson/work/puppet/lib/puppet/metatype/manager.rb:124:in `type'
/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:228:in `resource_type'
/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:417:in `parse_title'
/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:234:in `to_hash'
/Users/matthewrobinson/work/puppet/lib/puppet/resource.rb:243:in 
`uniqueness_key'
/Users/matthewrobinson/work/puppet/lib/puppet/resource/catalog.rb:374:in 
`resource'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:565:in `block in 
to_catalog'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:562:in `each'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:562:in 
`to_catalog'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:621:in `block in 
use'
/Users/matthewrobinson/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/sync.rb:225:in
 `sync_synchronize'
/Users/matthewrobinson/work/puppet/lib/puppet/util/settings.rb:615:in `use'
/Users/matthewrobinson/work/puppet/lib/puppet/application/master.rb:225:in 
`setup'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:304:in `block in 
run'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:395:in 
`exit_on_fail'
/Users/matthewrobinson/work/puppet/lib/puppet/application.rb:304:in `run'
/Users/matthewrobinson/work/puppet/sbin/puppetmasterd:4:in `<main>'
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :master, :ssl]: Could
 not autoload file: constant Puppet::Type::File not defined
</pre>
----------------------------------------
Bug #6555: Puppetmaster fails to start on ruby 1.9
https://projects.puppetlabs.com/issues/6555

Author: Thomas Hatch
Status: Available In Testing Branch
Priority: Normal
Assignee: 
Category: plumbing
Target version: Statler
Affected Puppet version: 2.6.5
Keywords: ruby19
Branch: https://github.com/jamtur01/puppet/tree/tickets/2.6.x/6555


The errors I am seeing are:

<pre>
[root@fenrir puppet]# puppetmasterd --verbose
/usr/lib/ruby/site_ruby/1.9.1/puppet/util/log/destinations.rb:97: warning: 
class variable access from toplevel
/usr/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb: 
/usr/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb:107: Invalid next 
(SyntaxError)
</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