/usr/bin/config-get is in juju 0.5+bzr531-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/python
# We avoid using PYTHONPATH because it can cause side effects on hook execution
import os, sys
if "JUJU_PYTHONPATH" in os.environ:
sys.path[:0] = filter(None, os.environ["JUJU_PYTHONPATH"].split(":"))
from juju.hooks.commands import config_get
if __name__ == '__main__':
config_get()
|