Bug 927298 - constant Puppet::Type::Package not defined
Summary: constant Puppet::Type::Package not defined
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: puppet
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 949509 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-25 15:27 UTC by Marcus Moeller
Modified: 2013-04-21 04:59 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-21 04:59:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcus Moeller 2013-03-25 15:27:55 UTC
Description of problem:
On a current F19 branch installation, I am trying to run puppet against manifests that worked without any problems on F18.

Error: Could not autoload puppet/type/package: constant Puppet::Type::Package not defined

Version-Release number of selected component (if applicable):
puppet-3.1.1-1.fc19.noarch
ruby-2.0.0.0-6.fc19.x86_64

How reproducible:
Define package installation in a manifest and try to run this on a current F19 branch installation with the above versions of puppet and ruby

Actual results:
Packages are not installed as puppet fails

Expected results:
Packages should be installed as listed in the relevant manifests

Additional info:
Maybe it's related to the ruby version which also has been upgraded

Comment 1 Sandro Mathys 2013-04-02 10:34:50 UTC
Hit the same error with the File (and probably any other built-in) type.

$ echo 'file { "/tmp/asdasdas":}' | puppet apply
Error: Could not autoload puppet/type/file: constant Puppet::Type::File not defined
Error: Could not autoload puppet/type/file: constant Puppet::Type::File not defined on node localhost.local.lan
Error: Could not autoload puppet/type/file: constant Puppet::Type::File not defined on node localhost.local.lan

Comment 2 Pádraig Brady 2013-04-08 10:31:32 UTC
*** Bug 949509 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2013-04-16 19:29:11 UTC
puppet-3.1.1-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/puppet-3.1.1-3.fc19

Comment 4 Fedora Update System 2013-04-17 16:26:59 UTC
Package puppet-3.1.1-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing puppet-3.1.1-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5890/puppet-3.1.1-3.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-04-21 04:59:03 UTC
puppet-3.1.1-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.