aboutsummaryrefslogtreecommitdiffstats
path: root/ci/scripts/freeipa_setup.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-15Declare variables for freeipa_setup.sh scriptJuan Antonio Osorio Robles1-0/+9
These were assumed to be always passed, but as the script gets different cases (novajoin vs pre-defined service principals) we might get "unbound variable" errors when used outside of CI. Exporting these variables beforehand prevents that. Change-Id: I195321354df167c09cfc87c5b9f86c6dc5026d75
2017-02-01FreeIPA: don't preprovision service principals if novajoin is enabledJuan Antonio Osorio Robles1-7/+12
novajoin will do this once it's enabled in CI. Change-Id: I9f19d833f306930704b09de0c4d425461f1f3f63
2017-01-19Fix comment in freeipa_setup.sh scriptJuan Antonio Osorio Robles1-2/+2
It wrongly pointed that one can use an IP, and this is not correct. For this case, it needs to be a CIDR. This is because we are not using DHCP to set this address in CI, so the CIDR is required, else it will use /32 which will not route. Change-Id: Iea070d49aeb2324564bae59082481b5485d1d360
2017-01-18Add IP to provisioning interface for FreeIPA if requestedJuan Antonio Osorio Robles1-0/+8
If a variable is set in the environment, one can assign an IP for the provisioning interface for FreeIPA, this is set by OVB and it doesn't use DHCP, so it's needed since we want the overcloud nodes to communicate with the CA. bp tls-via-certmonger Change-Id: I44a8135118b047f154e3edbb8846751bd2e16c84
2017-01-13Add git to FreeIPA test server install scriptJuan Antonio Osorio Robles1-1/+1
This is needed to fetch the tripleo repo; since it's not available because we're using the generic cloud image on CI. Change-Id: I22ebe028c7b23cb5fba7d03ce89e967bca5951f8
2017-01-11Allow freeipa environment file to be in /tmpJuan Antonio Osorio Robles1-0/+2
Relying on home can be tricky if run on CI, since we would need to hard-code the user. So for this case, we can use /tmp to source that environment file from. bp tls-via-certmonger Change-Id: Ie6234a15af7aa493257c13bd40cbf51ab36085be
2016-12-21Add FreeIPA server installation scriptJuan Antonio Osorio Robles1-0/+94
This script is meant for CI and it deploys an instance of FreeIPA. This instance is needed for deploying TLS everywhere and will serve as the CA. The parameters relevant to this instance will then be passed to the overcloud deploy command. Change-Id: I38b880250c3b30d7fa1c9e56e82a1be8b59b7e30