Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow setting of deb/rpm/solaris user and group ownership for package files #80

Merged
merged 1 commit into from
Dec 4, 2013

Conversation

ohlol
Copy link

@ohlol ohlol commented Nov 15, 2013

FPM uses whatever user it's run as by default. If you'd like me to set "root" as default I can update PR.

@schisamo
Copy link
Contributor

This LGTM, @lamont-granquist any objections?

@lamont-granquist
Copy link
Contributor

i ripped fpm out of solaris, so i'm pretty sure that won't work... would need to be ported to solaris/aix/sh to fully support it... i don't think we need to block on that for accepting it though...

@schisamo
Copy link
Contributor

ripped fpm out of solaris

@lamont-granquist Can you expand on what you mean by this?

@lamont-granquist
Copy link
Contributor

fpm was broken on solaris (pretty horribly, with postinstall scripts not getting bundled with the software so that 11.6.0 was unusable on solaris), so omnibus-ruby just directly uses pkgmk now.

@lamont-granquist
Copy link
Contributor

fpm issue is still open: jordansissel/fpm#551

if you want to tackle that, it could get patched and better maintained 'upstream' and then we could revert those changes and go back to using fpm.... as a result of all those issues we do have functional tests now in omnibus-chef's client-test and install-test scripts that make sure that the postinstall / postremove scripts are present and correctly setup symlinks... fpm is not very well-maintained on solaris, though, so i viewed it as something that was going to get lost in the 87 other issues that project has open on it, and likely to break in the future, while our use of pkgmk is really not that complicated, and i wanted something that wasn't going to get broken because someone refactored how debs and/or rpms got built and that broke solaris again...

@schisamo
Copy link
Contributor

@lamont-granquist Roger. Thanks for the background!

schisamo added a commit that referenced this pull request Dec 4, 2013
allow setting of deb/rpm/solaris user and group ownership for package files
@schisamo schisamo merged commit c947fc8 into chef:master Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants