On Tuesday 06 of September 2016 20:41:13 Luke Tinker wrote:
> Hi everyone,
> 
> hopefully someone can point me in the right direction here
> I started using foreman earlier this year,
> 
> The short of what i want to achieve is have Foreman Host Name field
> provided as a fact so puppet can use it to ensure the hostname is enforced,
> this is so when a machine is pre-created in foreman, puppet can ensure its
> hostname is always correct,
> also making renaming the machine possible via foreman.
> 
> The most obvious place to find this information is via the YAML output
> values provided per host, specifically the primary interface's name value.
> however is this the best source, is it possible to get the host name from
> the Name* field when you go to edit a host, thus allowing for the direct
> change if its name is changed?
> 
> any assistance would be greatly appreciated, even if its a simple push in a
> certain direction.
> 
> Cheers,
> Luke

Hello

I'd say it's a good source. A host name + primary interface domain name is 
what give us host FQDN. Host name is always synced to primary interface name.

Hope this helps

--
Marek

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to