Issue #11534 has been updated by Florian Koch.

Hi,

any news here or more infos needed? 

rgds Flo
----------------------------------------
Bug #11534: Puppet should report filesystem permission errors instead of class 
not found errors
https://projects.puppetlabs.com/issues/11534

Author: Florian Koch
Status: Unreviewed
Priority: Normal
Assignee: 
Category: error reporting
Target version: 
Affected Puppet version: 2.7.6
Keywords: 
Branch: 


Hi,

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 test.example.org at 
/var/lib/puppet/environments/produktion/yum/manifests/init.pp:11 on node 
test.example.org

the structure is (removed the unneeded parts)

    tree -p /var/lib/puppet/environments/produktion/yum/manifests
    /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 
test.example.org

rgds flo




-- 
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