Issue #11281 has been reported by Remi Broemeling.
----------------------------------------
Bug #11281: undefined method `file?' for Puppet::Type::File:Class
https://projects.puppetlabs.com/issues/11281
Author: Remi Broemeling
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.6
Keywords:
Branch:
I am attempting to run puppet (v2.7.6) and facter (v1.6.1) on Ruby 1.9.2p290,
and I am unable to execute against my manifests. The exact same manifests are
working on Ruby Enterprise Edition 1.8.7 (2011-02-18 patchlevel 334). The
error that I am receiving is as follows:
`** [out :: rubytest...] err: /Stage[main]//Yumrepo[yum_puppet_repo]: Could not
evaluate: undefined method 'file?' for Puppet::Type::File:Class`
The yum_puppet_repo stanza looks like this:
`exec { "yum_rebuild_cache":
command => "/usr/bin/yum makecache",
logoutput => false,
refreshonly => true
}`
`yumrepo { "yum_puppet_repo":
baseurl => "file://${puppet_root}/../RPM/RPMS",
descr => "Local package repository.",
enabled => 1,
gpgcheck => 0,
notify => Exec["yum_rebuild_cache"]
}`
I believe this to be a bug in puppet (and not in my manifest) wholly because
the same puppet configuration works properly on Ruby Enterprise Edition.
Is there further information that I can give to help debug this issue?
--
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.