Hey guys!
So I'd really like migrate our environment to Ruby 1.9.3 (and Puppet 3.1)
and wanted to check in to see if it's possible. I saw some older threads
that seemed to indicate it was kinda working, but no instructions or
anything like that.
Is it possible to install Foreman&Proxy without the RPM's, using my
compiled version of Ruby (I'm not using RVM)? Does any one know how? If
possible?
Thanks,
Jason
> Hey guys!
>
> So I'd really like migrate our environment to Ruby 1.9.3 (and Puppet
> 3.1) and wanted to check in to see if it's possible. I saw some older
> threads that seemed to indicate it was kinda working, but no
> instructions or anything like that.
Foreman 1.1 fully supports 1.9.3 .
>
> Is it possible to install Foreman&Proxy without the RPM's, using my
> compiled version of Ruby (I'm not using RVM)? Does any one know how?
> If possible?
You can use the git repository. The 1.1-stable branch contains the
latest stable release and master tracks the latest release. Essentially,
master will move with 1.2, 1.3, etc are released, but 1.1-stable will
always be 1.1. You can install the required gems for running in
production using bundler by running " bundle install --without
development test". Assuming you've compiled your own ruby over the
system version, it should just work^™once you've installed bundler
and the required gems.
>
> Thanks,
>
> Jason
Hope that helps!
···
On 04/10/2013 03:55 PM, Jason Knudsen wrote:
–
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Wow. not surprised in the slightest. You guys are always ahead of the game
I'll give it a shot and report back the steps I've taken to get it going
soon and results.
Thanks for the quick response!
···
On Wednesday, April 10, 2013 4:01:53 PM UTC-4, Sam Kottler wrote:
>
> On 04/10/2013 03:55 PM, Jason Knudsen wrote:
>
> Hey guys!
>
> So I'd really like migrate our environment to Ruby 1.9.3 (and Puppet
> 3.1) and wanted to check in to see if it's possible. I saw some older
> threads that seemed to indicate it was kinda working, but no instructions
> or anything like that.
>
>
> Foreman 1.1 fully supports 1.9.3 .
>
>
> Is it possible to install Foreman&Proxy without the RPM's, using my
> compiled version of Ruby (I'm not using RVM)? Does any one know how? If
> possible?
>
>
> You can use the git repository. The 1.1-stable branch contains the latest
> stable release and master tracks the latest release. Essentially, master
> will move with 1.2, 1.3, etc are released, but 1.1-stable will always be
> 1.1. You can install the required gems for running in production using
> bundler by running " bundle install --without development test". Assuming
> you've compiled your own ruby over the system version, it should just
> work™once you've installed bundler and the required gems.
>
>
> Thanks,
>
> Jason
>
>
> Hope that helps!
>
> --
> 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-user...@googlegroups.com .
> To post to this group, send email to forema...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/foreman-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
> Wow. not surprised in the slightest. You guys are always ahead of the
> game
>
> I'll give it a shot and report back the steps I've taken to get it
> going soon and results.
>
> Thanks for the quick response!
No problem! If you have a few free minutes it'd also be great to put the
steps somewhere on http://projects.theforeman.org.
···
On 04/10/2013 04:14 PM, Jason Knudsen wrote:
On Wednesday, April 10, 2013 4:01:53 PM UTC-4, Sam Kottler wrote:
On 04/10/2013 03:55 PM, Jason Knudsen wrote:
Hey guys!
So I'd really like migrate our environment to Ruby 1.9.3 (and
Puppet 3.1) and wanted to check in to see if it's possible. I saw
some older threads that seemed to indicate it was kinda working,
but no instructions or anything like that.
Foreman 1.1 fully supports 1.9.3 .
Is it possible to install Foreman&Proxy without the RPM's, using
my compiled version of Ruby (I'm not using RVM)? Does any one
know how? If possible?
You can use the git repository. The 1.1-stable branch contains the
latest stable release and master tracks the latest release.
Essentially, master will move with 1.2, 1.3, etc are released, but
1.1-stable will always be 1.1. You can install the required gems
for running in production using bundler by running " bundle
install --without development test". Assuming you've compiled your
own ruby over the system version, it should just work�once you've
installed bundler and the required gems.
Thanks,
Jason
Hope that helps!
--
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-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at
http://groups.google.com/group/foreman-users?hl=en
<http://groups.google.com/group/foreman-users?hl=en>.
For more options, visit https://groups.google.com/groups/opt_out
<https://groups.google.com/groups/opt_out>.
–
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Okay here's what I have so far. It all seems to work fine, but mind you I
didn't do a full QA pass on Foreman or anything like that. To scale it out
you'd need to look into apache-passenger or nginx-passenger, which will be
very manual configurations as you can't use the foreman installer with this
method.
I needed a whole bunch of RPMs beforehand though, so depending on your
system, packages, etc… I had to do the following:
*yum install gcc gcc-c++ make libxml2-devel libxml2 *libxml2-devel
libxslt-devel
- So setup your new ruby environment by either compiling it yourself, or
using RVM.
- Make a foreman directory, and git clone
https://github.com/theforeman/foreman.git .
- in the conf dir: cp settings.yaml.example settings.yaml and cp
database.yml.example database.yml and make your changes
- Edit the config/settings.yaml and add: :puppetgem: true
- echo "gem 'puppet'" > bundler.d/Gemfile.local.rb
- bundle install --without mysql mysql2 sqlite test --path vendor
- RAILS_ENV=production bundle exec rake db:migrate
- ./script/rails s -e production
Sam: I've started documenting
here: About - ForemanForeman_Ruby_19x
Jason
···
On Wednesday, April 10, 2013 4:16:13 PM UTC-4, Sam Kottler wrote:
>
> On 04/10/2013 04:14 PM, Jason Knudsen wrote:
>
> Wow. not surprised in the slightest. You guys are always ahead of the game
>
> I'll give it a shot and report back the steps I've taken to get it going
> soon and results.
>
> Thanks for the quick response!
>
>
> No problem! If you have a few free minutes it'd also be great to put the
> steps somewhere on http://projects.theforeman.org.
>
>
> On Wednesday, April 10, 2013 4:01:53 PM UTC-4, Sam Kottler wrote:
>>
>> On 04/10/2013 03:55 PM, Jason Knudsen wrote:
>>
>> Hey guys!
>>
>> So I'd really like migrate our environment to Ruby 1.9.3 (and Puppet
>> 3.1) and wanted to check in to see if it's possible. I saw some older
>> threads that seemed to indicate it was kinda working, but no instructions
>> or anything like that.
>>
>>
>> Foreman 1.1 fully supports 1.9.3 .
>>
>>
>> Is it possible to install Foreman&Proxy without the RPM's, using my
>> compiled version of Ruby (I'm not using RVM)? Does any one know how? If
>> possible?
>>
>>
>> You can use the git repository. The 1.1-stable branch contains the latest
>> stable release and master tracks the latest release. Essentially, master
>> will move with 1.2, 1.3, etc are released, but 1.1-stable will always be
>> 1.1. You can install the required gems for running in production using
>> bundler by running " bundle install --without development test". Assuming
>> you've compiled your own ruby over the system version, it should just
>> work�once you've installed bundler and the required gems.
>>
>>
>> Thanks,
>>
>> Jason
>>
>>
>> Hope that helps!
>>
>> --
>> 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-user...@googlegroups.com.
>> To post to this group, send email to forema...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/foreman-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>> �
>> �
>>
>>
>> --
> 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-user...@googlegroups.com .
> To post to this group, send email to forema...@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/foreman-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> �
> �
>
>
>