tee could not be used, because it is executed under postgres which does not have acl for /var/log/foo

addressing:
tee: /var/log/katello/katello-configure/create-postgresql-foreman-database.log: Permission denied
(cherry picked from commit 390730e7aa95d2a17453b9f7cb1cdf45b0a139bc)