On 12/21, Costin Balan wrote:
> 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
https://www.consul.io/api/index.html

>
> 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 [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.


--
Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

-- 
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.

Attachment: signature.asc
Description: PGP signature

Reply via email to