博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Puppet学习:pp文件权限问题

Posted on 2013-11-19 12:23  Rex Kang  阅读(477)  评论(0编辑  收藏  举报

由于内网的Puppet还是在测试中,所以对文件权限等内容未做过多关注。

今天报了错误:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'xxx.xxx.net, xxx.xxx, xxx' on node xxx.xxx.xxx
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

百思不得其解之时,突然想起可能是权限问题,我直接使用root用户登录系统,而且umask是027,因此puppet是无法读取的。

修改为puppet属主后,依然不行,只好给了644的权限,方才正常。