You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I deploy this module with r10k, puppet failed to execute code on agent : Error: /File[/opt/puppetlabs/puppet/cache/locales]: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error: Permission denied - /etc/puppetlabs/code/environments/production/modules/os_hardening/metadata.json
Looking on the server permissions are too restrictive :
@hdep When I clone this repo here, group and other have read permissions on the files. As I understand this depends on your umask setting when you clone / work with the repo (I have 0022 set for my dev user).
The root user usually has a more restrictive umask setting - so either you could change this in the profile file or you set this explicitly in the r10k service somewhere ...
Describe the bug
When I deploy this module with r10k, puppet failed to execute code on agent :
Error: /File[/opt/puppetlabs/puppet/cache/locales]: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error: Permission denied - /etc/puppetlabs/code/environments/production/modules/os_hardening/metadata.json
Looking on the server permissions are too restrictive :
The puppetserver is running under user puppet.
I have this issue with module in version 2.1.3
Regards,
The text was updated successfully, but these errors were encountered: