Issue #2191 has been updated by Nigel Kersten.

Target version changed from Telly to Statler


----------------------------------------
Bug #2191: Ruby 1.9 portability
https://projects.puppetlabs.com/issues/2191

Author: Stéphan Gorget old account
Status: Accepted
Priority: Normal
Assignee: 
Category: plumbing
Target version: Statler
Affected Puppet version: 0.25.0
Keywords: ruby19
Branch: 


I tried to use Puppet and Facter (master version) with Ruby 1.9.1 on
CentOS 5.2 and I succeed to make Facter work but I still have some
errors :

<pre>
# facter
Could not retrieve ipaddress_eth0: undefined method `each' for
#<String:0xa08ed8c>
Could not retrieve macaddress_eth0: undefined method `each' for
#<String:0xa08e724>
Could not retrieve netmask_eth0: undefined method `each' for #<String:
0xa08e0d0>
Could not retrieve ipaddress_eth1: undefined method `each' for
#<String:0xa08da7c>
Could not retrieve macaddress_eth1: undefined method `each' for
#<String:0xa08d428>
Could not retrieve netmask_eth1: undefined method `each' for #<String:
0xa08cdd4>
Could not retrieve ipaddress_sit0: undefined method `each' for
#<String:0xa2ea9c8>
Could not retrieve macaddress_sit0: undefined method `each' for
#<String:0xa2ea374>
Could not retrieve netmask_sit0: undefined method `each' for #<String:
0xa2e9d20>
Could not retrieve network_eth0: undefined method `each' for #<String:
0xa5a274c>
Could not retrieve network_eth1: undefined method `each' for #<String:
0xa5a1fb8>
Could not retrieve network_sit0: undefined method `each' for #<String:
0xa5a1824>
Could not retrieve macaddress: undefined method `each' for #<String:
0xa54acb8>
Could not retrieve virtual: undefined method `each' for #<String:
0xa55a6a4>
Could not retrieve virtual: undefined method `each' for #<String:
0xa559e98>
architecture => i386
</pre>

... and then it goes ok.

but puppetmasterd doesn't work and the errors are :

<pre>
# puppetmasterd
Could not autoload file: constant Puppet::Type::File not defined
Could not autoload file: constant Puppet::Type::File not defined
...
Could not autoload file: constant Puppet::Type::File not defined
Could not autoload file: constant Puppet::Type::File not defined
Invalid method to apply
</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.

Reply via email to