README.md says:
"The value of DNS_ALT_NAMES must list all the names, as a comma-separated list, under which the Puppet server in the stack can be reached from agents. It will have puppet prepended to it as that name is used by PuppetDB to communicate with the Puppet server."
Two bugs:
Bug 1)
The variable DNS_ALT_NAMES is not actually used in the code!
The variables PUPPET_DNS_ALT_NAMES and PUPPETDB_DNS_ALT_NAMES are used to set DNS_ALT_NAMES.
README.md says: "The value of DNS_ALT_NAMES must list all the names, as a comma-separated list, under which the Puppet server in the stack can be reached from agents. It will have puppet prepended to it as that name is used by PuppetDB to communicate with the Puppet server."
Two bugs:
Bug 1) The variable
DNS_ALT_NAMES
is not actually used in the code! The variablesPUPPET_DNS_ALT_NAMES
andPUPPETDB_DNS_ALT_NAMES
are used to setDNS_ALT_NAMES
.I run the given command from README.md:
DNS_ALT_NAMES=host.example.com docker-compose up -d
...but since I have set neither
PUPPET_DNS_ALT_NAMES
norPUPPETDB_DNS_ALT_NAMES
,DNS_ALT_NAMES
is set to its defaults.You can see this in:
This should read:
Bug 2) README.md says the hostname "puppet" will be prepended to whatever I type. It is not!
If I manually workaround Bug 1 above by:
See that the hostname "puppet" has not been prepended.
This should read:
Current workaround for both bugs:
Fix: Either fix the bugs or change the documentation.