[SERVER-333] Cleanup hacks from packaging post install Created: 2015/02/02  Updated: 2015/12/30  Resolved: 2015/02/26

Status: Closed
Project: Puppet Server
Component/s: Puppet Server
Affects Version/s: SERVER 2.0.0
Fix Version/s: SERVER 2.0.0

Type: Task Priority: Normal
Reporter: Ruth Linehan Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by SERVER-369 Get EL-7 CI passing fully (WAS: Updat... Closed
Template:
Epic Link: Green: Puppet 4.0 Changes
Sub-team: emerald
Story Points: 1
Sprint: Server Emerald 2015-03-04
QA Contact: Erik Dasher

 Description   

Since we don't have complete AIO puppet-agent packages/since the puppet-agent packages aren't currently doing everything they need to do (such as creating the puppet user), in order to get puppetserver packages, a number of hacks in the postinstall and in the acceptance setup helpers had to be made.

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.



 Comments   
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 SERVER-369 work.

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.

Generated at Sat Sep 19 12:09:57 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.