[SERVER-333] Cleanup hacks from packaging post install Created: 2015/02/02 Updated: 2015/12/30 Resolved: 2015/02/26
|Affects Version/s:||SERVER 2.0.0|
|Fix Version/s:||SERVER 2.0.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Epic Link:||Green: Puppet 4.0 Changes|
|Sprint:||Server Emerald 2015-03-04|
It was decided that the puppet-agent packages won't be creating the puppet user after all, so we still need to do some stuff in the postinstall. However, we can probably do some cleanup of these sections in ezbake.conf. We should take another look at this once puppet-agent packages are a little more settled and see what we can remove safely.
|Comment by Ruth Linehan [ 2015/02/04 ]|
Haus mentioned that if we modify ezbake to allow setting a user's homedir, then we could remove https://github.com/puppetlabs/puppet-server/blob/987982286ee87224d03f84f263e4dc6e163e00bc/resources/ext/ezbake.conf#L20.
It's possible we don't need https://github.com/puppetlabs/puppet-server/blob/987982286ee87224d03f84f263e4dc6e163e00bc/resources/ext/ezbake.conf#L30-L31 - we should try without it and see if it works.
Haus also mentioned that while the comment mentions needing write access to the conf dir, that seems wrong, so we may want to try without that and see.
|Comment by Nate Wolfe [ 2015/02/10 ]|
This also should probably wait until the puppet-agent package is more finalized.
|Comment by Jeff McCune [ 2015/02/21 ]|
I'm working on this as part of the
|Comment by Jeff McCune [ 2015/02/26 ]|
The world has changed drastically with the AIO paths in master. The current set of post install actions in master are necessary and has been trimmed down for EL-7. The user home directory should be created appropriately when Rob Braden adds that behavior to the puppetserver packages and removes the user from the puppet-agent packages, until then the usermod postinst action is still required.