Ignore this last one, I wrote it at the same time you wrote your comment...

I understand and it makes sense. 

Thanks for your help and I'll evaluate the strategy... I still need 
puppet_decrypt so I really need to figure how to integrate ruby 2.0.0 on 
ubutu 12.04 plus puppet. We use RVM for the rest of our ruby apps and 
that's why I thought on using it , but I see the cons as well.

Thanks for all your help!



On Friday, June 6, 2014 11:05:15 AM UTC+1, JuanBrein wrote:
>
> I've always used distribution packages, but now I need to use 
> puppet_decrypt which is not supported by ruby 1.8.7
>
> Quick question though... I've been looking in the documentation and I 
> haven't found any note stating that installing puppet through gem is not 
> recommended, neither using ruby > 1.8.7
>
> RVM is just a wrapper to install ruby, so let just forget about it... 
> Unfortunatelly ruby 2.0 is not available on Ubuntu 12.04 , so is either 
> using rvm or compile it myself
>
> Apart from that, bundlling puppetdb-terminus in a gem should be really 
> easy and would allow full flexibility to be installed along puppet as gem 
> on distributions where there are no packages available.
>
>
>
> On Thursday, June 5, 2014 9:56:34 PM UTC+1, jcbollinger wrote:
>>
>>
>>
>> On Thursday, June 5, 2014 10:37:46 AM UTC-5, JuanBrein wrote:
>>>
>>> I see, it is a gap in the installation though...
>>>
>>
>>
>> For a non-recommended installation path.
>>
>>  
>>
>>> I mean you can install ruby through RVM,
>>>
>>
>>
>> ... but you shouldn't ...
>>
>>
>> then puppet as a gem,
>>>
>>
>>
>> ... but you shouldn't ...
>>
>>  
>>
>>> but you can't install puppetdb-terminus
>>>
>>
>>
>> ... which is but one reason why not to do that.
>>
>>  
>>
>>> so you can't use it with puppetdb...
>>>
>>> I did a quick:
>>>
>>>   Rvm_gem<||> -> exec { "Install puppetdb-terminus":
>>>     command     => "mkdir util/puppetdb;dpkg -L puppetdb-terminus|grep 
>>> rb|while read a;do cp $a `echo $a|cut -d'/' -f7-`;done",
>>>     cwd         => 
>>> "/usr/local/rvm/gems/ruby-2.0.0-p451/gems/puppet-3.3.2/lib/puppet",
>>>     path        => "/usr/bin:/bin",
>>>     refreshonly => true,
>>>     subscribe   => Package['puppetdb-terminus'],
>>>   }
>>>
>>>
>>> But it hurt my eyes each time I see it ... 
>>>
>>> Suggestions?
>>>
>>
>>
>> Install your whole Puppet stack, from Ruby through Puppet to Puppet DB, 
>> via your distro's native package management system.  PuppetLabs hosts 
>> package repositories for many current systems, including, I think, Ubuntu 
>> 12.04.  But be sure to avoid having the same thing installed as gem and 
>> native package.
>>
>>
>> John
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2a7a5181-2e18-48e4-8743-612e5fc2e62b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to