voxpupuli/puppet-archive

Feature request: make password sensitive and hide on fail

Closed this issue · 0 comments

Would it be possible to hide the password when the archive resource fails?

Ex. change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://example.org/test.zip -o /tmp/test.zip_20200122-15071-xnnt9z -fsSLg --max-redirs 5 --user test:test' returned 22: curl: (22) The requested URL returned error: 404 Not Found

Something like this:
change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://example.org/test.zip -o /tmp/test.zip_20200122-15071-xnnt9z -fsSLg --max-redirs 5 --user test:Sensitive [value redacted]' returned 22: curl: (22) The requested URL returned error: 404 Not Found