install.sh needs an overhaul
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned |
Bug Description
install.sh in it's current incarnation is problematic. We're expecting the user to set a few envs and then curl the script from a remote repo. This is probably not a sustainable model. I think we need a discussion on how to rewrite it. I've heard that this current form is needed for upstream test setup, so I propose that we move this script to a test status and create a new one for actual installation.
Some ideas that have come up so far are:
1. parameterize the script and have the user pass their requirements as args
2. have a list of envs at the top of the script that the user will be instructed to edit
There are two other blocks in the script which are problematic: the domain setting if block and the hosts file modification block. There are people who are already ripping out the hosts block. I always have. I also always remove the domain block and set it statically. It should be done this way, not leaving the gathering of the fqdn to hostname -f. Facter could be a viable solution.
Please include your thoughts on how we may make this more user friendly and I will gladly write a new script on our conclusions.
Changed in openstack-cisco: | |
milestone: | h.0 → none |
Changed in openstack-cisco: | |
assignee: | Don Talton (dotalton) → nobody |
Some things I'd like if you're rewriting it:
The puppet master is current run outside of apache for some reason. I dont' think this is actually needed.
All in one shouldn't just run apply and be treated differently to everything else