andytinycat / puppet-omnibus

Omnibus package of Puppet with an embedded Ruby and required gems (Chef-style)
55 stars 34 forks source link

Allow building package but don't install #19

Closed dblessing closed 10 years ago

dblessing commented 10 years ago

It would be great if I could just build the puppet omnibus RPM and not have it installed at the same time. I'm trying to build this on a CI server and then we will put it up on our Yum repo server for distribution. Is this possible currently or is this something we can include in the future?

beddari commented 10 years ago

Hi Drew! Because of the nature of how omnibus packages are built with fpm-cookery (or .. rather where we are at this moment) they are built directly into the /opt subdir defined in the recipe, then wrapped into a OS-native package with fpm using that dir as source.

The result is that they are "installed" as part of the build, for all practical purposes. The expected workflow is that you use Vagrant or a throwaway temp instance to do the build and output the package. I'm doing a Vagrant setup to do this right now over at https://github.com/norcams/fpm-refinery - I want the end result of that to be something that is easily pluggable into Jenkins.

There has been discussions around trying to get omnibus-packages to build inside a temp dir - thus they won't appear as "installed" - but it hasn't happened yet.