puppetlabs / bolt-vanagon

Apache License 2.0
2 stars 30 forks source link

(BOLT-653) Modify pe-bolt-server package for configurability #38

Closed lucywyman closed 6 years ago

lucywyman commented 6 years ago

As part of making pe-bolt-server configurable we need to:

  1. Include the hocon gem
  2. Copy config.ru to a known location
  3. Update existing gems with generate.rb

Also includes updates to the ubuntu platforms to replace deprecated apt_repo with add_build_repository

lucywyman commented 6 years ago

Update: When trying to start the service, I get /opt/puppetlabs/server/apps/bolt-server/lib/ruby/gems/2.4.0/gems/bolt-0.21.4/exe/bolt-server:4:in ``': No such file or directory - rackup (Errno::ENOENT)

lucywyman commented 6 years ago

In it's current state I still needed to start the service on ubuntu 16.04. I'm not sure if that's OK / desired, or if I should investigate why it's not starting automatically. BUT just running 'service pe-bolt-server start' starts it (on the configured port :) )

MikaelSmith commented 6 years ago

I think that's likely normal for Ubuntu 16.04.

MikaelSmith commented 6 years ago

This seems to work, but I think the service files need another update to work on EL7.