Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set puppet uid/gid in container build #125

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

zipkid
Copy link
Member

@zipkid zipkid commented Sep 24, 2024

I want to connect an EFS to the ECS Service for the ca mountpoint and by creating an access point and setting ownership and permissions, we can have EFS create a directory for us, and make sure we always use the same UID/GID when accessing files. That makes re-deploys of the stack possible without user id issues…

For this to be possible we must be certain the UID/GID are static.
Just setting these at build time makes this possible.

@zipkid zipkid requested a review from a team as a code owner September 24, 2024 13:00
@rwaffen
Copy link
Member

rwaffen commented Sep 26, 2024

Doesn’t the puppet user come from the deb package? Are there any conflicts with this?

@zipkid
Copy link
Member Author

zipkid commented Sep 26, 2024

The user and group are indeed created by the package if they don't exist. But it will usually let the system choose the uid/gid. And having that fixed is the intention of this PR.

@rwaffen rwaffen changed the title Feature/puppet uid gid feat: set puppet uid/gid in container build Sep 27, 2024
@rwaffen rwaffen merged commit b637b92 into voxpupuli:main Sep 27, 2024
11 checks passed
@zipkid zipkid deleted the feature/puppet_uid_gid branch October 2, 2024 06:50
@rwaffen rwaffen added the enhancement New feature or request label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants