Issue #3526 has been updated by James Turnbull.

Category set to error reporting
Status changed from Unreviewed to Accepted
Assigned to set to Markus Roberts
Target version set to 0.25.5


----------------------------------------
Bug #3526: Unhelpful error message init.pp files are set to incorrect 
permissions
http://projects.puppetlabs.com/issues/3526

Author: Dan Smith
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: error reporting
Target version: 0.25.5
Affected version: 0.25.4
Keywords: puppet, error, file, permissions, incorrect
Branch: 


After upgrading from 0.24 to 0.25.4  puppet complained it could not retrieve an 
existing (working) catalog.

**CLIENT:**
`err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find class common at /etc/puppet/manifests/nodes.pp:13 on node 
mysql1-test.biduhappy.co.uk`
**SERVER:**
`err: Could not find class common at /etc/puppet/manifests/nodes.pp:31 on node 
mysql1-test.biduhappy.co.uk`

The file  the /etc/puppet/modules/common/manifests/init.pp existed and worked 
with 0.24. File permissions were set at 660. Changing them to 644 resolved the 
problem.

Perhaps this error message could be changed to match the existing error message 
when files or templates related to a catalog are at 660 (or more restrictive). 
The message then is an "Access Denied" style error that explains the issue.

This can be replicated by chmoding an init.pp file to 660 and viewing the logs.


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