puppetlabs / bolt-vanagon

Apache License 2.0
2 stars 31 forks source link

(maint) Move service config to packaging, fix GEM_PATH #46

Closed MikaelSmith closed 6 years ago

MikaelSmith commented 6 years ago

Move service config from the bolt repo to packaging.

Also GEM_HOME appears to be appended to GEM_PATH. If a different version of Bolt is installed in puppet-agent, that impacts how bolt-server functions. Set GEM_PATH instead to ensure we use the bolt-server specific gems first.

This ties bolt-server's service config more closely to the puppet-agent Ruby setup, since we have to include its GEM_PATH as well.

MikaelSmith commented 6 years ago

Successfully builds packages on el-6 and el-7, testing out that they install a functioning service.

MikaelSmith commented 6 years ago

Installs cleanly on both, and restarts the service successfully (including in the Orchestrator acceptance test environment where bolt is installed to puppet-agent).