puppetlabs / bolt-vanagon

Apache License 2.0
2 stars 31 forks source link

(BOLT-721) Add missing dependencies, change server install location #33

Closed MikaelSmith closed 6 years ago

MikaelSmith commented 6 years ago

Add dependencies needed by bolt-server on top of those provided by puppet-agent so that bolt-server from the package runs.

Change install paths and use GEM_HOME to install to /opt/puppetlabs/server/app/bolt-server.

MikaelSmith commented 6 years ago

Relies on https://github.com/puppetlabs/bolt/pull/536. Can probably merge them independently, but need both to get a working service.

Note that to run the server directly, you'll now need to do

GEM_HOME=/opt/puppetlabs/server/apps/bolt-server/lib/ruby/gems/2.4.0 /opt/puppetlabs/server/apps/bolt-server/bin/bolt-server

Packaging this way prevents conflicts with other things that may install gems, such as pe-r10k.