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
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
If you have a tool with needs_write_access undefined or set to false, the tool is built and the codepath mounted to /code in the container with RW permissions:
The tool should exit with an error as Puppet should not be able to write to /code, with something like this:
Notice: Compiled catalog forciarans-macbook-pro.localin environment production in 0.02 seconds
Warning: /Stage[main]/Main/File[/code/foo]: Could not stat; permission denied
Error: Could not set'present' on ensure: Permission denied @ rb_sysopen - /code/foo (line: 1)
Error: Could not set'present' on ensure: Permission denied @ rb_sysopen - /code/foo (line: 1)
Wrapped exception:
Permission denied @ rb_sysopen -/code/foo
Error: /Stage[main]/Main/File[/code/foo]/ensure: change from 'absent' to 'present' failed: Could not set'present' on ensure: Permission denied @ rb_sysopen - /code/foo (line: 1)
Notice: Applied catalog in 0.01 seconds
Instead, the containerised Puppet instance succeeds in creating a file at /code/foo
The text was updated successfully, but these errors were encountered:
If you have a tool with
needs_write_access
undefined or set tofalse
, the tool is built and the codepath mounted to/code
in the container with RW permissions:The tool should exit with an error as Puppet should not be able to write to
/code
, with something like this:Instead, the containerised Puppet instance succeeds in creating a file at
/code/foo
The text was updated successfully, but these errors were encountered: