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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/2157de4e-8854-480c-af5f-6a95c520e6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.