Run foreman with Ruby2, RVM and Puma

Hey Guys,

I'm running CentOS 6.5 with the following software stack:
Puppetlabs Repo
Nginx Repo
EPEL Repo
ELRepo-Kernel for kernel-ml

Nginx works as a loadbalancer, Puma as my Ruby webserver which serves
the puppet master in version 3.4.0. Also I've installed rvm which
provides ruby-2.0.0-p353.

This setup is working fine and a bit more detailed described at
http://blog.bastelfreak.de/?p=807 (currently just in german, ignore the
part about foreman).

Now I added the "latest" foreman repo (
http://yum.theforeman.org/releases/latest/el6/x86_64/foreman-release.rpm
), installed foreman-installer and run "foreman-installer -h" which returns:

/usr/sbin/foreman-installer:9:in `<main>': uninitialized constant
KafoConfigure (NameError)

Is there any way to integrate foreman into my existing environment? I
would like to run foreman with puma/nginx and not apache2/Passenger and
also with Ruby2 as Ruby1 is not installed.

Let me know if you need further information about my setup.

I found the issue;

I had installed the kafo-0.2.2 and the kafo-0.3.4 gem. After removing
the newer one, "foreman-installer -h" shows me the expected help and not
an error. Now I will try to install it.

··· Am 29.12.2013 11:53, schrieb Tim: > Hey Guys, > > I'm running CentOS 6.5 with the following software stack: > Puppetlabs Repo > Nginx Repo > EPEL Repo > ELRepo-Kernel for kernel-ml > > Nginx works as a loadbalancer, Puma as my Ruby webserver which serves > the puppet master in version 3.4.0. Also I've installed rvm which > provides ruby-2.0.0-p353. > > This setup is working fine and a bit more detailed described at > http://blog.bastelfreak.de/?p=807 (currently just in german, ignore the > part about foreman). > > Now I added the "latest" foreman repo ( > http://yum.theforeman.org/releases/latest/el6/x86_64/foreman-release.rpm > ), installed foreman-installer and run "foreman-installer -h" which returns: > > /usr/sbin/foreman-installer:9:in `': uninitialized constant > KafoConfigure (NameError) > > > Is there any way to integrate foreman into my existing environment? I > would like to run foreman with puma/nginx and not apache2/Passenger and > also with Ruby2 as Ruby1 is not installed. > > Let me know if you need further information about my setup. >

Hello,

how does it look like? Please share your experiences with us, best to
create new page on the wiki site:

http://projects.theforeman.org/projects/foreman/wiki

With further details.

Thanks.

··· On Wed, Jan 01, 2014 at 03:15:14PM +0100, Tim wrote: > Am 29.12.2013 11:53, schrieb Tim: > > Hey Guys, > > > > I'm running CentOS 6.5 with the following software stack: > > Puppetlabs Repo > > Nginx Repo > > EPEL Repo > > ELRepo-Kernel for kernel-ml > > > > Nginx works as a loadbalancer, Puma as my Ruby webserver which serves > > the puppet master in version 3.4.0. Also I've installed rvm which > > provides ruby-2.0.0-p353. > > > > This setup is working fine and a bit more detailed described at > > http://blog.bastelfreak.de/?p=807 (currently just in german, ignore the > > part about foreman). > > > > Now I added the "latest" foreman repo ( > > http://yum.theforeman.org/releases/latest/el6/x86_64/foreman-release.rpm > > ), installed foreman-installer and run "foreman-installer -h" which returns: > > > > /usr/sbin/foreman-installer:9:in `': uninitialized constant > > KafoConfigure (NameError) > > > > > > Is there any way to integrate foreman into my existing environment? I > > would like to run foreman with puma/nginx and not apache2/Passenger and > > also with Ruby2 as Ruby1 is not installed. > > > > Let me know if you need further information about my setup. > > > > I found the issue; > > I had installed the kafo-0.2.2 and the kafo-0.3.4 gem. After removing > the newer one, "foreman-installer -h" shows me the expected help and not > an error. Now I will try to install it. > > -- > 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/groups/opt_out.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

Hi,

unfortunately I hadn't any time to install foreman yet. I will create
the wiki page when I passed the installation process.

··· Am 02.01.2014 11:30, schrieb Lukas Zapletal: > Hello, > > how does it look like? Please share your experiences with us, best to > create new page on the wiki site: > > http://projects.theforeman.org/projects/foreman/wiki > > With further details. > > Thanks. > > On Wed, Jan 01, 2014 at 03:15:14PM +0100, Tim wrote: >> Am 29.12.2013 11:53, schrieb Tim: >>> Hey Guys, >>> >>> I'm running CentOS 6.5 with the following software stack: >>> Puppetlabs Repo >>> Nginx Repo >>> EPEL Repo >>> ELRepo-Kernel for kernel-ml >>> >>> Nginx works as a loadbalancer, Puma as my Ruby webserver which serves >>> the puppet master in version 3.4.0. Also I've installed rvm which >>> provides ruby-2.0.0-p353. >>> >>> This setup is working fine and a bit more detailed described at >>> http://blog.bastelfreak.de/?p=807 (currently just in german, ignore the >>> part about foreman). >>> >>> Now I added the "latest" foreman repo ( >>> http://yum.theforeman.org/releases/latest/el6/x86_64/foreman-release.rpm >>> ), installed foreman-installer and run "foreman-installer -h" which returns: >>> >>> /usr/sbin/foreman-installer:9:in `': uninitialized constant >>> KafoConfigure (NameError) >>> >>> >>> Is there any way to integrate foreman into my existing environment? I >>> would like to run foreman with puma/nginx and not apache2/Passenger and >>> also with Ruby2 as Ruby1 is not installed. >>> >>> Let me know if you need further information about my setup. >>> >> I found the issue; >> >> I had installed the kafo-0.2.2 and the kafo-0.3.4 gem. After removing >> the newer one, "foreman-installer -h" shows me the expected help and not >> an error. Now I will try to install it. >> >> -- >> 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/groups/opt_out.