Merge pull request #14 from TelekomLabs/lint

Lint
Addjusted find on remove suid script to not switching filesystems.

Don't descend directories on other filesystems.
Merge pull request #15 from spielkind/find_on_remove_suid_script_should_not_switch_filesystems

Addjusted find on remove suid script to not switching filesystems.
Add Reik Keutterling to Contributors
improvement: clarify SUID/SGID options in readme

make sure that remove_from_unkown and dry_run_on_unkown are better understandable in the readme.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #16 from TelekomLabs/readme_sugid

improvement: clarify SUID/SGID options in readme
improvement: only remove suid/sgid if necessary

Added a check that makes sure that we are actually operating on a file and that this file has either SUID or SGID bits set. Only then will they be removed.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #17 from TelekomLabs/sugid_only_if_necessary

improvement: only remove suid/sgid if necessary
bugfix: fix typo dry_run_on_unkown -> dry_run_on_unknown

careful: API-change! (we are still in pre-release 1.x.x so this is ok).
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
typo fix

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #18 from TelekomLabs/typo_fix_dry_run

Typo fix dry run
Use file resource instead of exec

Puppet is capable of managing folder permissions via the file resource.
No need for exec!
Merge pull request #19 from fadenb/cleanups/file_resource_instead_of_exec

Use file resource instead of exec
updated contributors

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
remove 80char warning from lint

The warning can sometimes not be fulfilled as seen in puppet-ssh-hardening. It hit the limit here again with the long test command. Removing it to align the projects.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
linting updates

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>