ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject git commit: AMBARI-5893. kerberos-setup.sh fails on suse (aonishuk)
Date Mon, 26 May 2014 15:55:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk fe12ebc04 -> 0c584e6e1


AMBARI-5893. kerberos-setup.sh fails on suse (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0c584e6e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0c584e6e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0c584e6e

Branch: refs/heads/trunk
Commit: 0c584e6e176cb93e3c04344f0670f8cea26301d8
Parents: fe12ebc
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Mon May 26 18:36:57 2014 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Mon May 26 18:54:59 2014 +0300

----------------------------------------------------------------------
 ambari-server/src/main/resources/scripts/kerberos-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0c584e6e/ambari-server/src/main/resources/scripts/kerberos-setup.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/scripts/kerberos-setup.sh b/ambari-server/src/main/resources/scripts/kerberos-setup.sh
index 62a8400..c4940d9 100755
--- a/ambari-server/src/main/resources/scripts/kerberos-setup.sh
+++ b/ambari-server/src/main/resources/scripts/kerberos-setup.sh
@@ -182,7 +182,7 @@ installKDC () {
   krb5_conf="/etc/krb5.conf"
   # Install rng tools
   $inst_cmd rng-tools
-  if [ $os == 'debian' ]; then
+  if [ $os == 'debian' ] || [ $os == 'suse' ]; then
     echo "HRNGDEVICE=/dev/urandom" >> /etc/default/rng-tools
     /etc/init.d/rng-tools start
   else


Mime
View raw message