juju_controller_agent_name

The juju_machine_agent_name macro returns the name of the machine agent that is currently running.

Usage

juju_machine_agent_name

Example output

machine-0