Issue #6968 has been updated by Dan Bode. Status changed from Unreviewed to Closed
nevermind, the issue was called b/c the version number was incorrect. ---------------------------------------- Bug #6968: Strings do not work in irb as documented in README https://projects.puppetlabs.com/issues/6968 Author: Dan Bode Status: Closed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: The README states that Strings should be accessible from irb: <pre> $ irb >> require 'puppet/string' => true >> string = Puppet::String[:facts, '1.0.0'] => #<Puppet::String::Facts:0x1024a1390 @format=:yaml> >> facts = string.find("myhost") </pre> Trying the same thing, I get a failure <pre> >> require 'puppet/string' => true >> string = Puppet::String[:facts, '1.0.0'] => #<Puppet::String:0xb78725c8 @name=:facts, @default_format=:pson, @version="1.0.0"> >> string.find('foo') NoMethodError: undefined method `find' for #<Puppet::String:0xb78725c8> from (irb):9 from /opt/puppet/lib/ruby/1.8/i386-linux/rbconfig.rb:58 </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
