Register new server to Foreman

Hi All,

I'm using my foreman to manage all servers in my Lab.
The problem is that I didn't find any "Fast" or automatic way to register
existing server to Foreman. I adding them manually.
The problem is when I add them manually with this instruction
<https://docs.puppetlabs.com/guides/install_puppet/install_el.html>it
install agent with version 3.2 and my Foreman puppet master version is
2.7.26 which it throes errors and stuff.

My Foreman server is running on CentOS 6.6.

My questions are:

  1. Is there any automatic way to add all my existing server to Foreman?
  2. Can I ignore the error comes due to Agent higher version then Puppet
    master?

Thanks a lot for any help :slight_smile:

Daniel,

Thanks for the help :slight_smile:

Any reason why Foreman is not released with the newest puppet version?

··· On Sunday, May 3, 2015 at 10:39:39 AM UTC+3, Eddie Mashayev wrote: > > Hi All, > > I'm using my foreman to manage all servers in my Lab. > The problem is that I didn't find any "Fast" or automatic way to register > existing server to Foreman. I adding them manually. > The problem is when I add them manually with this instruction > it > install agent with version 3.2 and my Foreman puppet master version is > 2.7.26 which it throes errors and stuff. > > My Foreman server is running on CentOS 6.6. > > My questions are: > 1) Is there any automatic way to add all my existing server to Foreman? > 2) Can I ignore the error comes due to Agent higher version then Puppet > master? > > Thanks a lot for any help :) >

>
>
> Hi All,
>
> I'm using my foreman to manage all servers in my Lab.
> The problem is that I didn't find any "Fast" or automatic way to register
> existing server to Foreman. I adding them manually.
> The problem is when I add them manually with this instruction
> <https://docs.puppetlabs.com/guides/install_puppet/install_el.html&gt;it
> install agent with version 3.2 and my Foreman puppet master version is
> 2.7.26 which it throes errors and stuff.
>
> My Foreman server is running on CentOS 6.6.
>
> My questions are:
> 1) Is there any automatic way to add all my existing server to Foreman?

If your hosts are already using Puppet you could possibly automate it by
applying this module to change puppet.conf, and on the next run, when
reports are submitted, a new host would be created.

For other kind of hosts, I don't think so, this issue is covering that
topic Feature #3506: Tool to register existing hosts back to Foreman - Foreman

··· On 05/03, Eddie Mashayev wrote:
  1. Can I ignore the error comes due to Agent higher version then Puppet
    master?

Thanks a lot for any help :slight_smile:


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 http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss

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