From: František Dvořák Date: Wed, 7 Jan 2015 22:46:54 +0000 (+0100) Subject: Give enough time for kdb5_util to read the /dev/random. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b798d6f16a408efa193dd964e80a00ed4d028d05;p=meta-site_hadoop.git Give enough time for kdb5_util to read the /dev/random. --- diff --git a/manifests/kdc/config.pp b/manifests/kdc/config.pp index c55a187..5f8c979 100644 --- a/manifests/kdc/config.pp +++ b/manifests/kdc/config.pp @@ -16,6 +16,8 @@ class site_hadoop::kdc::config { exec { 'kdb5_util-create': command => "kdb5_util create -s -P ${site_hadoop::kdc::master_password}", path => '/sbin:/usr/sbin:/bin:/usr/bin', + # reading /dev/random + timeout => 0, creates => "${site_hadoop::kdc::kdc_dir}/principal", } File['/etc/krb5.conf'] -> Exec['kdb5_util-create']