Jake - USPS
2011-Aug-31 15:05 UTC
[Puppet Users] 2.7.3 and ''Could not retrieve operatingsystem''
Just updated to 2.7.3 from 2.6.9. That''s when ''Could not retrieve operatingsystem: undefined method `+'' for nil:NilClass'' started popping up. It doesn''t seem to be causing any real issues, but its there. hostname:/etc/puppet # puppet agent --test info: Retrieving plugin Could not retrieve operatingsystem: undefined method `+'' for nil:NilClass info: Loading facts in uspspuppetfacts info: Loading facts in os_version info: Loading facts in network info: Loading facts in buildinfo info: Loading facts in memorysize info: Loading facts in hcs_service info: Loading facts in uspspuppetfacts info: Loading facts in os_version info: Loading facts in network info: Loading facts in buildinfo info: Loading facts in memorysize info: Loading facts in hcs_service info: Caching catalog for hostname.usps.gov info: Applying configuration version ''1314734945'' notice: Finished catalog run in 4.50 seconds This doesn''t seem to come my custom facter plugins as if I call ''facter -p'' I don''t get the error. Recipes I have that utilize ''operatingsystem'' seem to work fine. I''m still running ruby 1.8.7, so not sure if that could be part of the cause? Anyone else encounter this? Should I worry about it? Thanks, Jake -- 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 http://groups.google.com/group/puppet-users?hl=en.
Jake - USPS
2011-Sep-01 20:51 UTC
[Puppet Users] Re: 2.7.3 and ''Could not retrieve operatingsystem''
Yea, so I was wrong. I was one of my custom facts. Added some logic and was able to get rid of the warning/error. Not sure why it only showed up after going to 2.7.3 but I found where it was being caused and fixed it. Funny that it was working fine outside of puppet (facter) and didn''t seem to screw up any recipes. Regards, Jake On Aug 31, 10:05 am, Jake - USPS <jacob.m.mcc...@usps.gov> wrote:> Just updated to 2.7.3 from 2.6.9. That''s when ''Could not retrieve > operatingsystem: undefined method `+'' for nil:NilClass'' started > popping up. It doesn''t seem to be causing any real issues, but its > there. > > hostname:/etc/puppet # puppet agent --test > info: Retrieving plugin > Could not retrieve operatingsystem: undefined method `+'' for > nil:NilClass > info: Loading facts in uspspuppetfacts > info: Loading facts in os_version > info: Loading facts in network > info: Loading facts in buildinfo > info: Loading facts in memorysize > info: Loading facts in hcs_service > info: Loading facts in uspspuppetfacts > info: Loading facts in os_version > info: Loading facts in network > info: Loading facts in buildinfo > info: Loading facts in memorysize > info: Loading facts in hcs_service > info: Caching catalog for hostname.usps.gov > info: Applying configuration version ''1314734945'' > notice: Finished catalog run in 4.50 seconds > > This doesn''t seem to come my custom facter plugins as if I call > ''facter -p'' I don''t get the error. > > Recipes I have that utilize ''operatingsystem'' seem to work fine. > > I''m still running ruby 1.8.7, so not sure if that could be part of the > cause? > > Anyone else encounter this? Should I worry about it? > > Thanks, > Jake-- 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 http://groups.google.com/group/puppet-users?hl=en.