I see, it is a gap in the installation though... I mean you can install 
ruby through RVM, then puppet as a gem, but you can't install 
puppetdb-terminus 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?

On Thursday, June 5, 2014 3:44:54 PM UTC+1, Ken Barber wrote:
>
> So we (as in the developers of PDB) don't manage the gem that was put 
> onto rubygems, someone else did this - pretty anti-social but alas 
> thats the way rubygems works :-). 
>
> In fact we normally don't promote ruby gems as a way of installing 
> this software (or puppet for that matter) but if you insist, someone 
> has provided a gemspec in our source tree, that you can build a gem 
> from: https://github.com/puppetlabs/puppetdb/blob/master/Gemfile. 
>
> ken. 
>
> On Thu, Jun 5, 2014 at 1:09 PM, JuanBrein <juan....@gmail.com 
> <javascript:>> wrote: 
> > HI guys, 
> > On Ubuntu 12.04 using ruby 2.0 and puppet 3.3.2 through gem installation 
> I 
> > can't find puppetdb-terminus . There is a 1.0 version but is empty 
> available 
> > in rubygems.Does anybody know if there is an easy way to add this files 
> to 
> > my puppet installation rather than just copy them over from the 
> > puppetdb-terminus deb package or source code? 
> > 
> > Cheers 
> > 
> > Juan 
> > 
> > -- 
> > 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...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/puppet-users/e50b7fde-3a94-451a-aa07-6e9b375f5a9d%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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/40166f93-f11d-47d7-8b3f-5e81878e9810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to