In order to add subordinate charms such as nrpe, we need to have a primary
unit to relate them to. This charm provides that primary.
This charm provides a principal Juju unit so that we relate things like nrpe,
landscape-client, etc., to service the hosts used to provide Maas and other
infrastructure for a cloud installation.
Additionally, this charm ensures that the snaps for openstackclient and juju
are installed, since these hosts tend also to be used as administration
First, ensure you have ssh keys exchanged or passwords for a user with sudo on
the Maas host you wish to add. You will need to confirm you can ssh from the
CLI you're working on and from the Juju controller machines. Let's assume that
our ssh url is email@example.com. Add the machine:
juju add-machine ssh:firstname.lastname@example.org
In this case, that came back as machine number 14.
Now deploy the charm:
juju deploy cs:~canonical-bootstack/infra-node --to 14
Now you can add relations etc to have nrpe.
There's opportunities here to deliver some of the currently manual steps for
general day to day maintenance for a cloud. The base stuff we're including
with this charm is just a few snaps, but we can be much more ambitious in the