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

Fixes #15235: Add a generic method to check if a single mount point exists #1020

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Jul 17, 2019

"${canonified_mount_point}" expression => returnszero("/bin/findmnt -M ${mount_point}", "useshell");

methods:
pass1.!pass2::
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not needed, returnszero are always executed

@Fdall Fdall force-pushed the ust_15235/add_a_generic_method_to_check_if_a_single_mount_point_exists branch from ec4bcb6 to 8036137 Compare July 17, 2019 13:34
@Fdall
Copy link
Contributor Author

Fdall commented Jul 17, 2019

Commit modified

…point exists

Fixes #15235: Add a generic method to check if a single mount point exists
@Fdall
Copy link
Contributor Author

Fdall commented Jul 30, 2019

PR updated with a new commit

@Fdall
Copy link
Contributor Author

Fdall commented Aug 28, 2019

Closing, this is moved to the cis plugin see here:
Normation/rudder-plugins#184

@Fdall Fdall closed this Aug 28, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant