Nan,

Using the 'alternatives' system is probably your best bet.

Slap it in /opt and register it with 'alternatives'.

man 8 alternatives (I couldn't find a better reference online)

Trevor

On Thu, May 24, 2012 at 8:36 PM, Nan Liu <n...@puppetlabs.com> wrote:
> On Thu, May 24, 2012 at 2:57 PM, Gmoney <greg.caldwe...@gmail.com> wrote:
>> This sounds great, looks like when you try to do the puppet apply that
>> it does not support install on RedHat 6. Any update on that? i tried
>> modifing the file:
>>
>> /etc/puppet/modules/mongodb/manifests/init.pp
>>
>> Added the following, but it still coughs, any help would be
>> apprecitaed, thanks.
>>
>> 'RedHat': {
>>        $location = 'http://downloads-distro.mongodb.org/repo/redhat'
>>      }
>
> Well, the location is inserted into an apt repo a few lines below:
>
> apt::source { '10gen':
>  location    => $location,
>  ...
> }
>
> That's just not not going to work in RHEL. This needs to be
> conditional which use apt::source on debian family and yum on redhat.
> I admit this module was pretty minimal, so any updates such as
> including support RHEL would be very much appreciated.
>
> After that, you are probably going to have another hurdle with Ruby
> 1.9. I started building RPMs, but not quite ready:
> https://build.opensuse.org/package/show?package=Ruby-1.9.3&project=home%3Ananliu.
> I don't know the best way to get Ruby 1.9 on RHEL, so suggestions are
> welcomed.
>
> Thanks,
>
> Nan
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to