Issue #10727 has been updated by Josh Cooper.
Status changed from Unreviewed to Investigating
Assignee set to Josh Cooper
Target version set to 2.7.x
Hi Corey,
What ruby version are you using?
The issue is likely the following lines in lib/puppet/type/file.rb:262-265
changed in commit:44cb1f1fb1fb736d4195959fc417c45d03e6f0b7
<pre>
# Autorequire the nearest ancestor directory found in the catalog.
autorequire(:file) do
path = Pathname(self[:path])
if !path.root?
</pre>
The call to `Kernel#Pathname` is only available in ruby 1.8.5 and later. It
could easily be changed to `Pathname.new`
----------------------------------------
Bug #10727: undefined method 'Pathname' in 2.7.6 on RHEL4
https://projects.puppetlabs.com/issues/10727
Author: Corey Osman
Status: Investigating
Priority: Normal
Assignee: Josh Cooper
Category:
Target version: 2.7.x
Affected Puppet version: 2.7.6
Keywords:
Branch:
There seems to be an issue with 2.7.6 on RHEL4 (64 bit) where when installed
cannot run due to the following error:
Puppet version 2.7.5 seems to work fine so whatever changed in 2.7.6 is
preventing puppet to run on RHEL. This is probably due to the ancient ruby
version.
However, the recent security issue with 2.7.5 has forced me to install 2.7.6
which currently doesn't work.
<pre>
Got an uncaught exception of type NoMethodError: undefined method
`Pathname' for #Puppet::Type::File:0x2a969b5ee0
</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.