Greg
2009-Jun-09 23:49 UTC
[Puppet Users] Autorequire throwind NoMethodError for gsub on Arrays
Hi guys, Has anyone seen this before: debug: //Node[default]/netbackup/File[/usr/openv/netbackup]: Autorequiring File[/usr/openv] err: Got an uncaught exception of type NoMethodError: private method `gsub'' called for #<Array:0x10a69e8> debug: Storing state debug: Stored state in 0.52 seconds debug: Calling puppetreports.report It seems to happen for any file - it appears to be when autorequiring something, doesn''t matter what, however (ie. not a specific file). Most recent change to my config was to start using a response file for package adds (Solaris standard provider). Not sure if this is what has triggered it or if its something else... Any thoughts on this one would be appreciated... thanks, Greg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Greg
2009-Jun-10 01:55 UTC
[Puppet Users] Re: Autorequire throwind NoMethodError for gsub on Arrays
Answering my own question again... Problem was I put a search path for the response file into the package definition... Ie: package { foo: responsefile => [ "/tmp/a", "/tmp/b" ] } What I should have done (and am now doing) is putting that into a file resource and controlling through that... Greg On Jun 10, 9:49 am, Greg <greg.b...@gmail.com> wrote:> Hi guys, > > Has anyone seen this before: > > debug: //Node[default]/netbackup/File[/usr/openv/netbackup]: > Autorequiring File[/usr/openv] > err: Got an uncaught exception of type NoMethodError: private method > `gsub'' called for #<Array:0x10a69e8> > debug: Storing state > debug: Stored state in 0.52 seconds > debug: Calling puppetreports.report > > It seems to happen for any file - it appears to be when autorequiring > something, doesn''t matter what, however (ie. not a specific file). > > Most recent change to my config was to start using a response file for > package adds (Solaris > standard provider). Not sure if this is what has triggered it or if > its something else... > > Any thoughts on this one would be appreciated... > > thanks, > > Greg--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---