Puppet学习:pp文件权限问题

时间:2023-01-23 09:29:15

由于内网的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的权限,方才正常。