On 07/17/2015 10:08 PM, Felix Frank wrote:
> Hi list,
>
> I'm currently trying to get Puppet 4 to work with nginx/passenger. I had
> that working with Puppet 3.x pretty well, but the new packaging stumps me.
>
> For one, the config.ru file is no longer being packaged, apparently.
> It's missing from my systems regardless of whether puppet-agent or even
> puppetserver are installed (having it in the latter would be kind of
> weird, too, I guess).
>
> Now I can retrieve the config.ru right from github, so that's not a
> blocker. Next issue: The puppet user and group is now owned by package
> puppetserver, apparently. Just getting the puppet-agent AIO will not
> create it on my Debian 8 system. (The fact that there is not yet a
> puppetserver package for jessie is an additional hinderance at this time.)
>
> Currently, both WEBrick and Passenger error out on this testing VM
> running Debian 8 with PC1.
>
> There should probably be tickets for these issues, but I'd like to
> gather some feedback first. Has anyone gotten their feet wet with
> non-puppetserver masters that run 4.x?
>
> Cheers,
> Felix

Following up on that story: Creating puppet user and group helped,
apparently. But no dice with passenger.

Using the OS Ruby will not work, obviously, since /opt/puppetlabs/... is
not in its lookup path. Works as designed. But then the vendored Ruby
from that tree has no rack support.

I failed to install the passenger gem there as well, because apparently,
Phusion only supports Ruby up to 2.1.3, whereas Puppet bundles 2.1.6.

I did try to get system Ruby to load Puppet by adding this at the top of
config.ru:

$LOAD_PATH.unshift('/opt/puppetlabs/puppet/lib/ruby/vendor_ruby')

But no dice. Puppet still cannot be loaded because (apparently) system
Ruby's openssl support is not up to par. Now perhaps it's possible to
load even more stuff from the vendored Ruby, but this whole approach
feels horribly wrong anyway, so I'm stopping right here.

As it stands, I guess if I really want to run Puppet 4 through
Passenger, I will need to install from source. Thoughts?

Thanks,
Felix

-- 
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/55A972E4.4050204%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to