Integrate Foreman with Consul

Hello,

I'm looking for a way to integrate Foreman with Consul. More specific, I
want to define in Consul KV for hostname, IPs and fetch them with Foreman
on provisioning. Is there a way to do something like this?

Thanks

Hello,

I'm looking for a way to integrate Foreman with Consul. More specific, I
want to define in Consul KV for hostname, IPs and fetch them with Foreman
on provisioning. Is there a way to do something like this?

Look into provisioning templates:
https://theforeman.org/manuals/1.16/#4.4.3ProvisioningTemplates

You can make API calls using `curl` to Consul to fetch/set any KV pair

ยทยทยท

On 12/21, Costin Balan wrote:

Thanks

--
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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users\.
For more options, visit https://groups.google.com/d/optout\.

--
Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: elobato (Daniel Lobato Garcia) | Keybase