bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_ipa-server/1-install_freeipa.sh

James Hogarth a5d690
#!/bin/bash
James Hogarth a5d690
# Author: James Hogarth <james.hogarth@gmail.com>
James Hogarth a5d690
#	  
James Hogarth a5d690
c1e011
if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64')
c3b6d5
  then
6a55f1
  t_Log "Running $0 - Installing java-1.6 to fix java-issues with 1.7/1.8, to be fixed with 6.7"
6a55f1
  t_InstallPackage java-1.6.0-openjdk
c3b6d5
  t_Log "Running $0 - Installing packages, this takes around 2-3 mins"
James Hogarth 175228
  t_InstallPackage ipa-server bind-dyndb-ldap libsss_sudo
James Hogarth acc301
else
c1e011
  echo "Skipped on CentOS 5 and AArch64"
James Hogarth acc301
fi
James Hogarth a5d690
James Hogarth a5d690