Skip to content

Fix file permissions of /opt/stackstorm/packs and /opt/stackstorm/virtualenvs - #290

Merged
nmaludy merged 6 commits into
masterfrom
feature/file-permissions
Feb 19, 2020
Merged

Fix file permissions of /opt/stackstorm/packs and /opt/stackstorm/virtualenvs#290
nmaludy merged 6 commits into
masterfrom
feature/file-permissions

Conversation

@nmaludy

@nmaludy nmaludy commented Feb 18, 2020

Copy link
Copy Markdown
Member

Closes #278

Previously /opt/stackstorm/packs and /opt/stackstorm/virtualenvs was managed by a file resource with recurse => true. This was VERY inefficient and also is not idempotent due to bad ordering. This PR fixes the idempotent ordering flaw by moving the resources into the proper spot (in the server configuration) and also fix the efficiency by utilizing a new module npwalker/recursive_file_permissions

…tualenvs not being idempotent and also being inefficient.
@nmaludy
nmaludy requested a review from arm4b February 18, 2020 14:14
@nmaludy nmaludy self-assigned this Feb 18, 2020
@nmaludy

nmaludy commented Feb 19, 2020

Copy link
Copy Markdown
Member Author

@armab this is ready for review now (got the unit tests passing)

@arm4b arm4b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nmaludy
nmaludy merged commit fcf0180 into master Feb 19, 2020
@nmaludy
nmaludy deleted the feature/file-permissions branch June 26, 2020 14:01
bishopbm1 pushed a commit to EncoreTechnologies/puppet-st2 that referenced this pull request May 20, 2022
…sions

Fix file permissions of /opt/stackstorm/packs and /opt/stackstorm/virtualenvs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove recurse for file resources

2 participants