|
...
|
...
|
@@ -212,7 +212,7 @@ fi
|
|
212
|
212
|
# Some distros need to add repos beyond the defaults provided by the vendor
|
|
213
|
213
|
# to pick up required packages.
|
|
214
|
214
|
|
|
215
|
|
-if [[ is_fedora && $DISTRO == "rhel6" ]]; then
|
|
|
215
|
+if is_fedora && [ $DISTRO == "rhel6" ]; then
|
|
216
|
216
|
# Installing Open vSwitch on RHEL requires enabling the RDO repo.
|
|
217
|
217
|
RHEL6_RDO_REPO_RPM=${RHEL6_RDO_REPO_RPM:-"http://rdo.fedorapeople.org/openstack-icehouse/rdo-release-icehouse.rpm"}
|
|
218
|
218
|
RHEL6_RDO_REPO_ID=${RHEL6_RDO_REPO_ID:-"openstack-icehouse"}
|
|
...
|
...
|
@@ -223,7 +223,7 @@ if [[ is_fedora && $DISTRO == "rhel6" ]]; then
|
|
223
|
223
|
fi
|
|
224
|
224
|
fi
|
|
225
|
225
|
|
|
226
|
|
-if [[ is_fedora && ( $DISTRO == "rhel6" || $DISTRO == "rhel7" ) ]]; then
|
|
|
226
|
+if is_fedora && [[ $DISTRO == "rhel6" || $DISTRO == "rhel7" ]]; then
|
|
227
|
227
|
# RHEL requires EPEL for many Open Stack dependencies
|
|
228
|
228
|
|
|
229
|
229
|
# note we always remove and install latest -- some environments
|
|
...
|
...
|
@@ -347,7 +347,7 @@ function echo_nolog {
|
|
347
|
347
|
echo $@ >&3
|
|
348
|
348
|
}
|
|
349
|
349
|
|
|
350
|
|
-if [[ is_fedora && $DISTRO == "rhel6" ]]; then
|
|
|
350
|
+if is_fedora && [ $DISTRO == "rhel6" ]; then
|
|
351
|
351
|
# poor old python2.6 doesn't have argparse by default, which
|
|
352
|
352
|
# outfilter.py uses
|
|
353
|
353
|
is_package_installed python-argparse || install_package python-argparse
|