From b798d6f16a408efa193dd964e80a00ed4d028d05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 7 Jan 2015 23:46:54 +0100 Subject: [PATCH] Give enough time for kdb5_util to read the /dev/random. --- manifests/kdc/config.pp | 2 ++ 1 file changed, 2 insertions(+) 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'] -- 1.8.2.3