Created
July 7, 2014 13:32
-
-
Save DBMoUK/de00292a705d0468c344 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Servers.yaml | |
--- | |
:puppet: "master.breaktest.puppetlabs.vm" | |
# The resolvable name of the server to install the puppet CA service on. | |
:ca: "ca.breaktest.puppetlabs.vm" | |
# The resolvable name of server to install PuppetDB on. | |
:puppetdb: "db.breaktest.puppetlabs.vm" | |
# A list of servers (resolvable names) to configure as puppet catalog compile | |
# masters. | |
:compile: | |
- "master.breaktest.puppetlabs.vm" | |
# The resolvable name of the server to install the ActiveMQ (hub) service on. | |
:mcohub: "ca.breaktest.puppetlabs.vm" | |
===================================== | |
If the fqdn for :puppet: is present in the :compile: list also, as per the example above, then the fqdn value doesn't appear in the list of hosts generated via: | |
fab $flags -H <%= (hash.values.flatten - [hash[:puppet]]).join(',') %> bootstrap_pe | |
I'm guessing this is due to duplicate value removal in the hash, how can this be worked around? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment