saltstack/salt-cloud — pull request #454 by jesusaurus (2013-03-20 22:57:10+00:00)
Title: Check if the 'append_domain' option is set before accepting the key.

If the minion is configured with the 'append_domain' option, then we need to add that string to the key name before accepting the generated key for the minion. Otherwise, when the minion starts it will generate a new key request which needs to be manually accepted, and a stale accepted request will go unused.