[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.
Re: [Puppet Users] How to read in file into array of hashes to use build start script template
Thanks. The reason I have a CSV is that is what is provided from the users out of their own private database where they keep this data. I have to take the detail as it is given. Now I can manually process the data to be how I think I want, but I'm trying to keep this as simple as possible for the other team members (KISS principal). For the custom ENC, the new environment is Foreman over top of Puppet. Can I use a Puppet ENC when Foreman is setup to do that itself? With respect to a custom function, what would there be a performance impact by having to have Ruby run that block? -- 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/550dd25e-2038-48ec-b36d-4b923df8f425%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: How to read in file into array of hashes to use build start script template
Thanks for the code. What I am trying to find is the correct way to use what Puppet has already defined in the code base to handle processing everything into a hash of key/value pairs inside of the class, if possible. It seems that it should be able to do it, I am just looking at it wrong. -- 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/ace1a764-6d94-4bfb-bfb5-84f40d498cfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Issue with puppetlabs-java
The README.md says the following. "Oracle Java is supported on: - CentOS 6" -- Lowe Schmidt | +46 723 867 157 On 20 January 2017 at 16:58, bodikwrote: > class {"java": } but i doubt that {"java::oracle": } > > On 01/20/2017 04:53 PM, Gustavo S. L. wrote: > > cat manifests/* | grep -i xenial -A 5 -B 5 --color > > > > The problem may not be in the module > > > > 2017-01-20 13:47 GMT-02:00 bodik : > > > >> > >>> unsupported platform Ubuntu at > >>> /etc/puppetlabs/code/environments/production/ > >> modules/java/manifests/oracle.pp:127:11 > >> > >> from the code > >> https://github.com/puppetlabs/puppetlabs-java/blob/master/ > >> manifests/oracle.pp#L147 > >> > >> i can see that probably puppetlabs-java module is made just to support > >> officially supported operating systems. > >> > >> you'd better to install java by hand or modify the module (should not be > >> very > >> hard) you might get inspired by: > >> > >> https://github.com/puppetlabs/puppetlabs-java/commit/ > >> d30954ebc445b76237cc3c078b83457cc26b19e5 > >> > > > > -- > 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/5882339B.4020501%40cesnet.cz. > 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/CAC-wWcQR1n2o9WhNH1xXb%2BV2LYY%2BiOcGpJv1X0koGNfHKEM3BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Issue with puppetlabs-java
class {"java": } but i doubt that {"java::oracle": } On 01/20/2017 04:53 PM, Gustavo S. L. wrote: > cat manifests/* | grep -i xenial -A 5 -B 5 --color > > The problem may not be in the module > > 2017-01-20 13:47 GMT-02:00 bodik: > >> >>> unsupported platform Ubuntu at >>> /etc/puppetlabs/code/environments/production/ >> modules/java/manifests/oracle.pp:127:11 >> >> from the code >> https://github.com/puppetlabs/puppetlabs-java/blob/master/ >> manifests/oracle.pp#L147 >> >> i can see that probably puppetlabs-java module is made just to support >> officially supported operating systems. >> >> you'd better to install java by hand or modify the module (should not be >> very >> hard) you might get inspired by: >> >> https://github.com/puppetlabs/puppetlabs-java/commit/ >> d30954ebc445b76237cc3c078b83457cc26b19e5 >> > -- 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/5882339B.4020501%40cesnet.cz. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Issue with puppetlabs-java
cat manifests/* | grep -i xenial -A 5 -B 5 --color The problem may not be in the module 2017-01-20 13:47 GMT-02:00 bodik: > > > unsupported platform Ubuntu at > > /etc/puppetlabs/code/environments/production/ > modules/java/manifests/oracle.pp:127:11 > > from the code > https://github.com/puppetlabs/puppetlabs-java/blob/master/ > manifests/oracle.pp#L147 > > i can see that probably puppetlabs-java module is made just to support > officially supported operating systems. > > you'd better to install java by hand or modify the module (should not be > very > hard) you might get inspired by: > > https://github.com/puppetlabs/puppetlabs-java/commit/ > d30954ebc445b76237cc3c078b83457cc26b19e5 > > > nice weekend > bodik > > -- > 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/588230F9.60608%40cesnet.cz. > 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/CAOO4BW00X-%2BoSH8fJGEBGfj7xu5c3Jn%2BoDZx5%3DZvTeM%3DZRVzPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Issue with puppetlabs-java
> unsupported platform Ubuntu at > /etc/puppetlabs/code/environments/production/modules/java/manifests/oracle.pp:127:11 from the code https://github.com/puppetlabs/puppetlabs-java/blob/master/manifests/oracle.pp#L147 i can see that probably puppetlabs-java module is made just to support officially supported operating systems. you'd better to install java by hand or modify the module (should not be very hard) you might get inspired by: https://github.com/puppetlabs/puppetlabs-java/commit/d30954ebc445b76237cc3c078b83457cc26b19e5 nice weekend bodik -- 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/588230F9.60608%40cesnet.cz. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Issue with puppetlabs-java
Supposedly on the forge site it says the module was tested under Ubuntu. I'm running Ubuntu Xenial and when I apply the java::oracle class to the machine I get -- Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, unsupported platform Ubuntu at /etc/puppetlabs/code/environments/production/modules/java/manifests/oracle.pp:127:11 Suggestions? -- 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/CAArvnv0qmHON6MGkJyy15_Wc2q5vqYFsPgHta3FnNkxyEMCjqw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.