Issue #18755 has been updated by Ashley Penney.
I can! gem --version is 1.8.23 and it works once I uninstalled 3.0.2. ---------------------------------------- Bug #18755: Puppet broken in 3.1rc1 with rubygems >= 1.8 and multiple gem versions installed https://projects.puppetlabs.com/issues/18755#change-81583 Author: Ashley Penney Status: Accepted Priority: Normal Assignee: Josh Cooper Category: Target version: 3.1.0 Affected Puppet version: 3.1.0-rc1 Keywords: Branch: I recently installed 3.1 (via a gem) to fix the rspec testing issues but discovered a new problem: <pre> [root@arch manifests]# puppet apply test.pp Could not retrieve macaddress: undefined method `each_line' for nil:NilClass Could not retrieve macaddress: undefined method `each_line' for nil:NilClass Could not retrieve macaddress: undefined method `each_line' for nil:NilClass Could not retrieve ipaddress6: undefined method `scan' for nil:NilClass Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :agent]: undefined method `exists?' for Group[puppet]:Puppet::Type::Group Error: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :agent]: undefined method `exists?' for Group[puppet]:Puppet::Type::Group undefined method `exists?' for Group[puppet]:Puppet::Type::Group </pre> As soon as I revert to 3.0.2 this works again. test.pp is just a quick call to a single define: <pre> json::add_file { 'env.json': } </pre> My puppet.conf: <pre> [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates environment = production pluginsync = true modulepath=/home/apenney/git/configuration/modules [master] modulepath=/home/apenney/git/configuration/modules [agent] modulepath=/home/apenney/git/configuration/modules </pre> /etc/group entry: <pre> puppet:x:1000: </pre> /etc/passwd: <pre> puppet:x:1001:1000::/var/lib/puppet:/bin/false </pre> This is using ruby 1.9.3p374 on arch linux. I set the priority as high only because this seems a fairly large change in behavior that might have slipped through the cracks and will upset users! :) If there's any other info I can get for you just let me know. -- 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.
