pschiffe / ipa-log-config

Tool for log forwarding configuration on IPA servers and clients
https://www.freeipa.org/page/Centralized_Logging
GNU General Public License v2.0
32 stars 14 forks source link

Running script results in error; #17

Open cmdrogogov opened 3 years ago

cmdrogogov commented 3 years ago
  File "/ipa-log-config/ipa_log_config.py", line 74
    print 'Condrestarting SSSD'
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Condrestarting SSSD')?

FreeIPA4 running off of Fedora33 - I suspect it might be down to Python2 being deprecated?

After trying to add parentheses there also appears to be an issue with audisp not existing in /etc/ anymore.

0t0x commented 2 years ago

Its a python2 issue. i was able to run this after adding parentheses and replacing iteritems() to items().