- `agent-local/powerdns`
- Replaced the absolute path `/usr/bin/pdns_control` with `pdns_control`, since pdns_control can also be in `/usr/sbin` or `/usr/local/bin`.
Python can find the executable using PATH just fine.
- Changed `vars` to `kvars` to avoid conflicting with the reserved `vars` Python symbol
- Changed shebang to use `python3` instead of `python` - as Python 2 is EOL.
- `agent-local/powerdns-recursor`
- Changed shebang to use `/usr/bin/env` instead of a hardcoded path to Python
- Changed shebang to use `python3` instead of `python` - as Python 2 is EOL.
**NOTE:** As per https://pythonclock.org/ - Python 2 is end-of-life, and is no longer included by default on modern Linux distros,
along with macOS (OS X).
I would recommend adjusting all Python-based agents to use Python 3 by default, instead of Python 2.