Issue #3672 has been updated by James Turnbull.

Actually I think it's the error message that is kaputing. Something is wrong 
with the 'raise' that creates the intended error.
----------------------------------------
Bug #3672: Puppet dies silently on duplicate module definition in 
fileserver.conf
http://projects.puppetlabs.com/issues/3672

Author: Jason Antman
Status: Accepted
Priority: Normal
Assigned to: James Turnbull
Category: fileserving
Target version: 0.25.5
Affected version: 0.25.4
Keywords: fileserver fileserver.conf
Branch: 


If two modules are defined with the same name in fileserver.conf, Puppetmasterd 
0.25.4 dies without a meaningful error.

    /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:286:in 
`raise': wrong number of arguments (ArgumentError)
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:286:in 
`readconfig'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:279:in `each'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:279:in 
`readconfig'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:276:in `open'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:276:in 
`readconfig'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:124:in 
`initialize'
        from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:139:in 
`new'
        from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:139:in 
`xmlrpc_servlet'
         ... 10 levels...
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in 
`exit_on_fail'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
        from /usr/sbin/puppetmasterd:66

Sample config file snippet generating the error:

    [radius]
    path /etc/puppet/main/modules/radius/files
    allow 192.168.0.*
    allow 10.0.1.*
    allow 10.0.2.*
    [xen]
    path /etc/puppet/main/modules/xen/files
    allow 192.168.0.*
    allow 10.0.1.*
    allow 10.0.2.*
    [nagios]
    path /etc/puppet/main/modules/nagios/files
    allow 192.168.0.*
    allow 10.0.1.*
    allow 10.0.2.*
    [edu_rutgers_css_hill-tb]
    path /etc/puppet/main/modules/edu_rutgers_css_hill-tb/files
    allow 192.168.0.*
    allow 10.0.1.*
    allow 10.0.2.*
    [radius]
    path /etc/puppet/main/modules/radius8021x/files
    allow 192.168.0.*
    allow 10.0.1.*
    allow 10.0.2.*   




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