On 12/07/16 03:26, [email protected] wrote: > I have been looking through the posts, but have not really found how to > connect my Foreman Server to my existing Puppetmaster server and > seperate puppet database server. I already have puppetmaster managing > all VMs/real machines & puppet database collecting facts & reports and > now need to integrate foreman with puppet to include manifest/class > files, installation and server provisioning ability. Have to connect it > to Puppetdb to integrate and manage facts & reports.
Foreman doesn't use PuppetDB to show facts and reports, I'd suggest ignoring that for now. For reports, follow the reports section of the manual to install the 'foreman' report processor: https://theforeman.org/manuals/1.12/index.html#3.5.4PuppetReports Foreman can act as an external node classifier (ENC) for Puppet nodes, rather than say, using node { } definitions. If you want this then it's the easiest way to have fact uploads: https://theforeman.org/manuals/1.12/index.html#3.5.5FactsandtheENC If not, then see the "Pushing facts to Foreman when not using the ENC functionality" sub-section at the same link. For importing classes to use the ENC, you need to install a smart proxy on the Puppet master with the Puppet feature enabled. See: https://theforeman.org/manuals/1.12/index.html#4.3SmartProxies https://theforeman.org/manuals/1.12/index.html#4.3.6Puppet Once you can import classes then you can also assign the Puppet master to hosts during provisioning. Enabling the Puppet CA feature on the smart proxy (https://theforeman.org/manuals/1.12/index.html#4.3.7PuppetCA) means Foreman can also help sign certificates during provisioning. You may find it easier to migrate agents to use the Puppet master installed with Foreman than to set up all of the integration manually. The puppetdb_foreman plugin can integrate Foreman more with PuppetDB by showing PuppetDB info in the Foreman UI and for deletion of hosts, but this isn't necessary for what you're asking. You can look at it separately. -- Dominic Cleal [email protected] -- 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.
