itamae/environments/docker/default.rb in daddy-0.9.0 vs itamae/environments/docker/default.rb in daddy-0.9.1

- old
+ new

@@ -16,11 +16,11 @@ group 'docker' do user 'root' end execute "add user to docker group" do - command "sudo usermod -a -G docker #{ENV['USER']} && newgrp docker" - not_if "groups #{ENV['USER']} | grep -E \"\sdocker\"" + command "sudo usermod -a -G docker ${USER} && newgrp docker" + not_if "groups ${USER} | grep -E \"\sdocker\"" end service 'docker' do action [:enable, :start] user 'root'