From 05646b79963a4d4b7acdf132d98184fc2c07f4d0 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 16 Feb 2020 00:06:18 +0000 Subject: [PATCH] blogs: run bundle install as blogs user --- cookbooks/blogs/recipes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/blogs/recipes/default.rb b/cookbooks/blogs/recipes/default.rb index f37b4156f..49e52cb57 100644 --- a/cookbooks/blogs/recipes/default.rb +++ b/cookbooks/blogs/recipes/default.rb @@ -53,8 +53,8 @@ execute "/srv/blogs.openstreetmap.org/Gemfile" do action :nothing command "bundle install --deployment" cwd "/srv/blogs.openstreetmap.org" - user "root" - group "root" + user "blogs" + group "blogs" notifies :run, "execute[/srv/blogs.openstreetmap.org]", :immediately end -- 2.39.5