Skip to content

Conversation

@aleksandrychev
Copy link
Contributor

Tiket: ENT-13638

@aleksandrychev
Copy link
Contributor Author

Build Status

commands:
# This only runs if apachectl touched (repaired) and restorecon path exists
apachectl_file_repaired.default:_stdlib_path_exists_restorecon::
"$(default:paths.restorecon) -v $(sys.workdir)/httpd/bin/apachectl"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why -v? Won't that create noise in the policy evaluation and maybe not be clear? Ideally you would capture the -v output and print it out in case of failure I would say.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, not needed, just added to see verbose output locally.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@aleksandrychev
Copy link
Contributor Author

Build Status

Tiket: ENT-13638
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev aleksandrychev merged commit eee7535 into cfengine:master Jan 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants