From 82e464398389635c96a399161be5a6a2dad8a84a Mon Sep 17 00:00:00 2001 From: Jim Dowling Date: Thu, 23 Feb 2017 19:43:48 +0100 Subject: [PATCH] should actually create group --- recipes/install.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/install.rb b/recipes/install.rb index ba25e3c..111ec59 100755 --- a/recipes/install.rb +++ b/recipes/install.rb @@ -44,10 +44,10 @@ include_recipe "java" -#group node.apache_hadoop.group do -# action :create -# not_if "getent group #{node.apache_hadoop.group}" -#end +group node.apache_hadoop.group do + action :create + not_if "getent group #{node.apache_hadoop.group}" +end user node.apache_hadoop.hdfs.user do home "/home/#{node.apache_hadoop.hdfs.user}"