From 8ba12e1ba2ee9c9e75ff32a6acfd2418e93a7bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Fri, 28 Apr 2017 12:00:22 +0200 Subject: [PATCH] Pass the user and group to the git resource The clone is done by root otherwise --- site-cookbooks/kosmos-hubot/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site-cookbooks/kosmos-hubot/recipes/default.rb b/site-cookbooks/kosmos-hubot/recipes/default.rb index d84b940..5a6b7e9 100644 --- a/site-cookbooks/kosmos-hubot/recipes/default.rb +++ b/site-cookbooks/kosmos-hubot/recipes/default.rb @@ -38,6 +38,8 @@ application hal8000_path do group "hubot" git do + user "hubot" + group "hubot" repository "https://github.com/67P/hal8000.git" revision "master" end @@ -120,6 +122,8 @@ application botka_freenode_path do group "hubot" git do + user "hubot" + group "hubot" repository "https://github.com/67P/botka.git" revision "master" end