Puppet 4 and foreman

Hi all,

With Puppet 3, the way I used to implement Puppet+foreman is to install the
foreman repository and using foreman-installer, which installed the Puppet
server. I am wondering what is the best practice of using foreman and
Puppet 4. Do you suggest installing foreman with foreman-installer or using
Puppet modules?

Sorry if this is a vague question but I am trying to understand whether
there is any best practice recommendations on installing/maintaining
foreman with Puppet?

Thanks,

For Puppet 4 I enable the Puppet Labs PC 1 repo (as well as the Foreman-specific repos) and then run foreman-installer, which will result in Foreman with Puppet 4.

Regards,

j

··· From: anothermailbox49@gmail.com To: "Foreman Users" Sent: Wednesday, March 1, 2017 8:54:47 AM Subject: [foreman-users] Puppet 4 and foreman

Hi all,
With Puppet 3, the way I used to implement Puppet+foreman is to install the foreman repository and using foreman-installer, which installed the Puppet server. I am wondering what is the best practice of using foreman and Puppet 4. Do you suggest installing foreman with foreman-installer or using Puppet modules?

Sorry if this is a vague question but I am trying to understand whether there is any best practice recommendations on installing/maintaining foreman with Puppet?

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

I think I was not able to present the question in right manner. I already
had Puppet server running (Puppet 4). I did that with foreman-installer
command. However, the foreman Puppet module was missing. It was my
understanding that the Puppet module comes from foreman-installer itself.
Apparently that is not the case.

I installed it with 'puppet module install theforeman-foreman' and then
things started to work.

The error was:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Error while evaluating a Function Call,
Could not find class ::foreman for <HOSTNAME> at
/etc/puppetlabs/code/environments/production/custom/profiles/manifests/puppetserver.pp:2:3
on node <HOSTNAME>

Thanks for the help everybody!

··· On Wednesday, March 1, 2017 at 8:27:38 PM UTC+5:30, anotherm...@gmail.com wrote: > > > Hi all, > > With Puppet 3, the way I used to implement Puppet+foreman is to install > the foreman repository and using foreman-installer, which installed the > Puppet server. I am wondering what is the best practice of using foreman > and Puppet 4. Do you suggest installing foreman with foreman-installer or > using Puppet modules? > > Sorry if this is a vague question but I am trying to understand whether > there is any best practice recommendations on installing/maintaining > foreman with Puppet? > > Thanks, >

Yep, that's how we did it, but it wasn't smooth. Having said that, it
wasn't broken either - just needed to read the error messages as they came
up and fix them.

The instructions are here:

https://theforeman.org/plugins/katello/nightly/upgrade/puppet.html

cheers
L.

··· ------ The most dangerous phrase in the language is, "We've always done it this way."
  • Grace Hopper

On 2 March 2017 at 02:01, ‘Jason B. Nance’ via Foreman users < foreman-users@googlegroups.com> wrote:

For Puppet 4 I enable the Puppet Labs PC 1 repo (as well as the
Foreman-specific repos) and then run foreman-installer, which will result
in Foreman with Puppet 4.

Regards,

j


*From: *anothermailbox49@gmail.com
*To: *“Foreman Users” foreman-users@googlegroups.com
*Sent: *Wednesday, March 1, 2017 8:54:47 AM
*Subject: *[foreman-users] Puppet 4 and foreman

Hi all,
With Puppet 3, the way I used to implement Puppet+foreman is to install
the foreman repository and using foreman-installer, which installed the
Puppet server. I am wondering what is the best practice of using foreman
and Puppet 4. Do you suggest installing foreman with foreman-installer or
using Puppet modules?

Sorry if this is a vague question but I am trying to understand whether
there is any best practice recommendations on installing/maintaining
foreman with Puppet?

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.


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.