The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #11534

Puppet should report filesystem permission errors instead of class not found errors

Added by Florian Koch over 4 years ago. Updated over 4 years ago.

Status:AcceptedStart date:12/21/2011
Priority:LowDue date:
Assignee:-% Done:


Category:error reporting
Target version:-
Affected Puppet version:2.7.6 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:



if puppet can not access a folder/subfolder in a module, i get the error

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class yum::repos::oracle for at /var/lib/puppet/environments/produktion/yum/manifests/init.pp:11 on node

the structure is (removed the unneeded parts)

tree -p /var/lib/puppet/environments/produktion/yum/manifests
├── [-rw-r--r--]  init.pp
├── [drwxr--r-x]  repos
│   ├── [-rw-r--r--]  epel.pp
│   ├── [-rw-r--r--]  oracle.pp

The folder repos is missing the x bit for other, so puppet can not change into ,and should report a Permission Denied error

If i import the classes from repos in the init.pp with import “repos/*” i get

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Permission denied – /var/lib/puppet/environments/produktion/yum/manifests/repos/epel.pp at /var/lib/puppet/environments/produktion/yum/manifests/init.pp:3 on node

rgds flo


#1 Updated by Florian Koch over 4 years ago


any news here or more infos needed?

rgds Flo

#2 Updated by Anonymous over 4 years ago

  • Status changed from Unreviewed to Accepted
  • Priority changed from Normal to Low

Thanks for the report, Florian. I am sorry to took so long to get a first look – I agree that this is a good change, and we will slot it into the overall process.

While the error is kind of misleading, Ruby actually makes it harder to get useful information than we would like, and the overall priority of improving this is not that high. I can’t give any sort of commitment about when it will be fixed, but it absolutely is a problem and we will get to it.

Also available in: Atom PDF