Re: [Puppet Users] Error with puppet in CentOS 7 - NoMethodError
Martin, thanks for the answer I just saw that the problem was that by downloading the release of yum.puppetlabs.com I used the relational to Red Hat Enterprise. Now downloading the correct release the same error did not happen 2017-01-21 9:14 GMT-02:00 Martin Alfke : > The error comes from system ruby. > Have you installed the AIO package? > > Maybe it is facter. > Please see whether you can run the facter command successfully. > > > On 21 Jan 2017, at 02:49, Gustavo S. L. wrote: > > > > When I execute puppet in a container with centos 7 I get this: > > > > /usr/share/rubygems/rubygems/path_support.rb:68:in `path=': undefined > method `+' for nil:NilClass (NoMethodError) > > from /usr/share/rubygems/rubygems/path_support.rb:30:in > `initialize' > > from /usr/share/rubygems/rubygems.rb:357:in `new' > > from /usr/share/rubygems/rubygems.rb:357:in `paths' > > from /usr/share/rubygems/rubygems.rb:379:in `path' > > from /usr/share/rubygems/rubygems/specification.rb:794:in `dirs' > > from /usr/share/rubygems/rubygems/specification.rb:658:in > `each_normal' > > from /usr/share/rubygems/rubygems/specification.rb:669:in `_all' > > from /usr/share/rubygems/rubygems/specification.rb:822:in `each' > > from /usr/share/rubygems/rubygems/specification.rb:864:in `find' > > from /usr/share/rubygems/rubygems/specification.rb:864:in > `find_inactive_by_path' > > from /usr/share/rubygems/rubygems.rb:175:in `try_activate' > > from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in > `rescue in require' > > from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in > `require' > > from :2:in `' > > > > What's happening? How can I solve it? Thank's > > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to puppet-users+unsubscr...@googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/CAOO4BW1hEhiryh3EDcf%2BD8ZfBwCP7aDaJknyHVZZKj% > 3DvL92H9Q%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/192B6B1A-C75F-4903-AA74-0F67B33A0E3E%40gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOO4BW27-2L%3DwBD7iS7GUV8eYpFEcnmeBS_c3fff1A7QxLi08A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Error with puppet in CentOS 7 - NoMethodError
The error comes from system ruby. Have you installed the AIO package? Maybe it is facter. Please see whether you can run the facter command successfully. > On 21 Jan 2017, at 02:49, Gustavo S. L. wrote: > > When I execute puppet in a container with centos 7 I get this: > > /usr/share/rubygems/rubygems/path_support.rb:68:in `path=': undefined method > `+' for nil:NilClass (NoMethodError) > from /usr/share/rubygems/rubygems/path_support.rb:30:in `initialize' > from /usr/share/rubygems/rubygems.rb:357:in `new' > from /usr/share/rubygems/rubygems.rb:357:in `paths' > from /usr/share/rubygems/rubygems.rb:379:in `path' > from /usr/share/rubygems/rubygems/specification.rb:794:in `dirs' > from /usr/share/rubygems/rubygems/specification.rb:658:in `each_normal' > from /usr/share/rubygems/rubygems/specification.rb:669:in `_all' > from /usr/share/rubygems/rubygems/specification.rb:822:in `each' > from /usr/share/rubygems/rubygems/specification.rb:864:in `find' > from /usr/share/rubygems/rubygems/specification.rb:864:in > `find_inactive_by_path' > from /usr/share/rubygems/rubygems.rb:175:in `try_activate' > from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in > `rescue in require' > from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in > `require' > from :2:in `' > > What's happening? How can I solve it? Thank's > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAOO4BW1hEhiryh3EDcf%2BD8ZfBwCP7aDaJknyHVZZKj%3DvL92H9Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/192B6B1A-C75F-4903-AA74-0F67B33A0E3E%40gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Error with puppet in CentOS 7 - NoMethodError
*When I execute puppet in a container with centos 7 I get this:* /usr/share/rubygems/rubygems/path_support.rb:68:in `path=': undefined method `+' for nil:NilClass (NoMethodError) from /usr/share/rubygems/rubygems/path_support.rb:30:in `initialize' from /usr/share/rubygems/rubygems.rb:357:in `new' from /usr/share/rubygems/rubygems.rb:357:in `paths' from /usr/share/rubygems/rubygems.rb:379:in `path' from /usr/share/rubygems/rubygems/specification.rb:794:in `dirs' from /usr/share/rubygems/rubygems/specification.rb:658:in `each_normal' from /usr/share/rubygems/rubygems/specification.rb:669:in `_all' from /usr/share/rubygems/rubygems/specification.rb:822:in `each' from /usr/share/rubygems/rubygems/specification.rb:864:in `find' from /usr/share/rubygems/rubygems/specification.rb:864:in `find_inactive_by_path' from /usr/share/rubygems/rubygems.rb:175:in `try_activate' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in `rescue in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require' from :2:in `' *What's happening? How can I solve it? Thank's* -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOO4BW1hEhiryh3EDcf%2BD8ZfBwCP7aDaJknyHVZZKj%3DvL92H9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.