Install and configure MCollectiveΒΆ

This example shows how MCollective can be installed, configured and started. For a full list of keys, refer to the MCollective module schema.

Warning

The EC2 metadata service is a network service, and thus is readable by non-root users on the system (i.e. ec2metadata --user-data).

If you want security against this, use include-once + SSL URLs.

The example provides server private and public keys, and provides the following config settings in /etc/mcollective/server.cfg:

 1#cloud-config
 2mcollective:
 3  conf:
 4    loglevel: debug
 5    plugin.stomp.host: dbhost
 6    public-cert: |
 7      -------BEGIN CERTIFICATE--------
 8      <cert data>
 9      -------END CERTIFICATE--------
10    private-cert: |
11      -------BEGIN CERTIFICATE--------
12      <cert data>
13      -------END CERTIFICATE--------