hypothesis / hypothesis/iamsync

iamsync logging improvement

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

As it is currently developed iamsync can be over verbose.

One the first run on a given server it raises validation errors when it can not find a sudo file in disk...
```
2021-11-01 13:16:42,041 : ERROR - sudo rule validation failed ([Errno 2] No such file or directory: '/etc/sudoers.d/xxx':/etc/sudoers.d/xxx)
```
It then goes away and creates it.

On each subsequent run it will then output...
```
INFO - Starting iamsync
INFO - Completed iamsync
```
If there are no changes to be made.

1. I am thinking the first problem with the validation error should not be treated as a error.
2. Maybe we just say: `iamsync validation complete - no changes required.` or something similar.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.