lth
2012-Mar-28 20:07 UTC
[Puppet Users] Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem
Hello, I''m having some trouble. I keep getting the following warnings when trying to run: $ puppet master --no-daemonize /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': iconv will be deprecated in the future, use String#encode instead. Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem [repeats a number of times] $ ruby -v ruby 1.9.3p0 (2011-10-30) [x86_64-linux] $ which ruby /usr/local/bin/ruby $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.7 (Tikanga) Thanks in advance. -LTH -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
Kinzel, David
2012-Mar-28 20:13 UTC
RE: [Puppet Users] Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem
These are harmless: projects.puppetlabs.com/issues/11325>-----Original Message----- >From: puppet-users@googlegroups.com >[mailto:puppet-users@googlegroups.com] On Behalf Of lth >Sent: Wednesday, March 28, 2012 2:08 PM >To: Puppet Users >Subject: [Puppet Users] Could not load confine test >''operatingsystem'': cannot load such file -- >puppet/provider/confine/operatingsystem > >Hello, > >I''m having some trouble. I keep getting the following warnings when >trying to run: > >$ puppet master --no-daemonize >/usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ >puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': >iconv will be deprecated in the future, use String#encode instead. >Could not load confine test ''operatingsystem'': cannot load such file >-- puppet/provider/confine/operatingsystem >[repeats a number of times] > >$ ruby -v >ruby 1.9.3p0 (2011-10-30) [x86_64-linux] > >$ which ruby >/usr/local/bin/ruby > >$ cat /etc/redhat-release >Red Hat Enterprise Linux Server release 5.7 (Tikanga) > >Thanks in advance. > >-LTH > >-- >You received this message because you are subscribed to the >Google Groups "Puppet Users" group. >To post to this group, send email to puppet-users@googlegroups.com. >To unsubscribe from this group, send email to >puppet-users+unsubscribe@googlegroups.com. >For more options, visit this group at >groups.google.com/group/puppet-users?hl=en. > >This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. encana.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
lth
2012-Mar-28 20:25 UTC
[Puppet Users] Re: Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem
Thanks for the quick response. However the agent is receiving an error and doesn''t get the catalog. We''re getting this: Ruby (Rack) application could not be started The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message. Error message: /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': iconv will be deprecated in the future, use String#encode instead. Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/ operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/ provider/confine/operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/ operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/ provider/confine/operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/ operatingsystem Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem Application root: /usr/local/build/puppet-bundle -LTH On Mar 28, 4:13 pm, "Kinzel, David" <David.Kin...@encana.com> wrote:> These are harmless: > > projects.puppetlabs.com/issues/11325 > > > > > > > > > > >-----Original Message----- > >From: puppet-users@googlegroups.com > >[mailto:puppet-users@googlegroups.com] On Behalf Of lth > >Sent: Wednesday, March 28, 2012 2:08 PM > >To: Puppet Users > >Subject: [Puppet Users] Could not load confine test > >''operatingsystem'': cannot load such file -- > >puppet/provider/confine/operatingsystem > > >Hello, > > >I''m having some trouble. I keep getting the following warnings when > >trying to run: > > >$ puppet master --no-daemonize > >/usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ > >puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': > >iconv will be deprecated in the future, use String#encode instead. > >Could not load confine test ''operatingsystem'': cannot load such file > >-- puppet/provider/confine/operatingsystem > >[repeats a number of times] > > >$ ruby -v > >ruby 1.9.3p0 (2011-10-30) [x86_64-linux] > > >$ which ruby > >/usr/local/bin/ruby > > >$ cat /etc/redhat-release > >Red Hat Enterprise Linux Server release 5.7 (Tikanga) > > >Thanks in advance. > > >-LTH > > >-- > >You received this message because you are subscribed to the > >Google Groups "Puppet Users" group. > >To post to this group, send email to puppet-users@googlegroups.com. > >To unsubscribe from this group, send email to > >puppet-users+unsubscribe@googlegroups.com. > >For more options, visit this group at > >groups.google.com/group/puppet-users?hl=en. > > This email communication and any files transmitted with it may contain > confidential and or proprietary information and is provided for the use of the > intended recipient only. Any review, retransmission or dissemination of this > information by anyone other than the intended recipient is prohibited. If you > receive this email in error, please contact the sender and delete this > communication and any copies immediately. Thank you. > > encana.com-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
Denmat
2012-Mar-28 20:30 UTC
Re: [Puppet Users] Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem
Hi, Is that a ruby 1.9.1 and 1.9.3 issue? Did you upgrade ruby on the host? Den On 29/03/2012, at 7:07, lth <ltharris@gmail.com> wrote:> Hello, > > I''m having some trouble. I keep getting the following warnings when > trying to run: > > $ puppet master --no-daemonize > /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ > puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': > iconv will be deprecated in the future, use String#encode instead. > Could not load confine test ''operatingsystem'': cannot load such file > -- puppet/provider/confine/operatingsystem > [repeats a number of times] > > $ ruby -v > ruby 1.9.3p0 (2011-10-30) [x86_64-linux] > > $ which ruby > /usr/local/bin/ruby > > $ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 5.7 (Tikanga) > > Thanks in advance. > > -LTH > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
lth
2012-Apr-04 18:41 UTC
[Puppet Users] Re: Could not load confine test ''operatingsystem'': cannot load such file -- puppet/provider/confine/operatingsystem
Hi, Thanks for everyone''s help. Just an update to this issue. The displayed error was indeed harmless as noted on this thread. The actual error we found in Apache''s error_log was: Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (cannot load such file -- rack) We think we were getting this because Passenger wasn''t finding Bundler''s Gemfile in spite of being in the bundle. We fixed it by changing the DocumentRoot from /etc/puppet/rack/public to /etc/puppet/public (since /etc/puppet is where the Gemfile is). Thanks again, -LTH On Wednesday, March 28, 2012 4:07:58 PM UTC-4, lth wrote:> > Hello, > > I''m having some trouble. I keep getting the following warnings when > trying to run: > > $ puppet master --no-daemonize > /usr/local/build/puppet-bundle/vendor/gems/ruby/1.9.1/gems/ > puppet-2.7.12/lib/puppet/external/pson/pure.rb:7:in `<module:PSON>'': > iconv will be deprecated in the future, use String#encode instead. > Could not load confine test ''operatingsystem'': cannot load such file > -- puppet/provider/confine/operatingsystem > [repeats a number of times] > > $ ruby -v > ruby 1.9.3p0 (2011-10-30) [x86_64-linux] > > $ which ruby > /usr/local/bin/ruby > > $ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 5.7 (Tikanga) > > Thanks in advance. > > -LTH-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit groups.google.com/d/msg/puppet-users/-/HRsFSJ-2PhwJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.