This may be a stupid question, but I have the following in my recipe:
bash ‘get user required’ do
GETUSER=$(ls /home | grep “myuser*”)
How do I reference the bash “GETUSER” variable below in my execute block?
execute ‘/tmp/chownMyStuff’ do
command "chown -R GETUSER:staff /tmp/myDir/"