puppet-openldap
puppet-openldap copied to clipboard
Fix unsafe interpolations
We now have puppet-lint-check_unsafe_interpolations and it detect some issues. Fix them.
Unfortunately due to https://github.com/puppetlabs/puppet-lint-check_unsafe_interpolations/issues/39 we are still required to disable the check.
I updated the PR to use stdlib::shell_escape() in favor of shell_escape() (deprecated).
I also removed the comments to disable the check to avoid the false positives because:
- This check is not enabled by default;
- I opened https://github.com/puppetlabs/puppet-lint-check_unsafe_interpolations/pull/48 to fix the bug.
When a version of puppet-lint-check_unsafe_interpolations that can spot shell_escaped interpolations is released, we will be able to consider its inclusion at the voxpupuli level and this module should not raise any warning when this happen.