Hostname changes when using clientcert for names, and editing a host
Foreman v: 0.2
When using clientcert as the hostname, the hosts appear correctly in the ui.
If you then click on the host, you'll see the clientcert in the browser URL.
If you then click on "Edit" you are taken to the page that displays the host properties as expected.
At this point, they URL in the browser still looks as you'd expect.
However, if you edit the host (in my case, I added a Parameter) and click submit, you'll get a message saying the change was saved successfully. HOWEVER, if you look at the browser bar now, it appears to append the domain. (also worth noting, it may come back and say host not found. it's about 50/50 between success, and host not found)
The result is: your ENC values aren't being saved to the host you think it is. Meaning that templates for the real host are either going to be populated with the global value, OR; if there is no matching global value.. the template will error out when the client tries to apply the catalog (the ENC would return no value)