Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Chris Price
On Fri, Oct 17, 2014 at 11:28 AM, Trevor Vaughan wrote: > Both would be nice. Or even in a DEBUGGING_README or somesuch at the top > level of the installation directory structure. > > Good idea, thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Develo

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Trevor Vaughan
Both would be nice. Or even in a DEBUGGING_README or somesuch at the top level of the installation directory structure. On Fri, Oct 17, 2014 at 2:15 PM, Chris Price wrote: > On Fri, Oct 17, 2014 at 10:15 AM, Trevor Vaughan > wrote: > >> +1 for including everything that you need in your own priv

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Chris Price
On Fri, Oct 17, 2014 at 10:15 AM, Trevor Vaughan wrote: > +1 for including everything that you need in your own private path. > > However, please make it VERY clear as to where these files are so that > ninja patches can happen without hours of hunting. > > Sounds good, what'd you have in mind?

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Trevor Vaughan
+1 for including everything that you need in your own private path. However, please make it VERY clear as to where these files are so that ninja patches can happen without hours of hunting. Thanks, Trevor On Fri, Oct 17, 2014 at 12:59 PM, Chris Price wrote: > Thanks, Darin. > > I must say tha

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Chris Price
Thanks, Darin. I must say that it makes me a bit nervous to see items with a "2.0.0" ruby version listed in your load path, though; the JRuby that is embedded in puppet server is intended to be compatible (at the language level) with a 1.9.3 ruby. It seems like maybe the right solution here is to

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Darin Perusich
Hi Chris, Adding the path of the hiera lib directory to the ruby-load-path works, I just hadn't gone that deep when trying different paths. I'll create a Jira ticket for this, perhaps adding a gems-load-path parameter for system "gems" which is recursively searched. os-settings: { ruby-load-p

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Chris Price
On Fri, Oct 17, 2014 at 7:21 AM, Darin Perusich wrote: > Hi Chris, > > Much like how installing puppetserver from yum.puppetlabs.com would > leverage the hiera package for hiera support, I need the same as I'm > packaging it in the open build service for opensuse/sles. > > I've tried added it to

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Darin Perusich
Hi Chris, Much like how installing puppetserver from yum.puppetlabs.com would leverage the hiera package for hiera support, I need the same as I'm packaging it in the open build service for opensuse/sles. I've tried added it to the ruby-load-path in os-settings.conf but that failed, which kinda e

Re: [Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Chris Price
Hi Darin, Puppet Server doesn't currently support multiple directories for gem home; we try to avoid using gems from the system ruby because we want to make sure that all gems are installed via the JRuby interpreter embedded in Puppet Server. This helps us guarantee that the gems will be compatib

[Puppet-dev] puppetserver.conf and gem-home

2014-10-17 Thread Darin Perusich
Hello All, What is the syntax for defining multiple gem-home locations in puppetserver.conf? On my systems, OpenSUSE/SLES, Hiera is packaged as a gem and lives under /usr/{lib,lib64}/ruby/gems/$ruby_ver so clients fail with 'Puppet::Parser::AST::Resource failed with error RuntimeError: Hiera termi