]> git.openstreetmap.org Git - chef.git/commitdiff
blogs: run bundle install as blogs user
authorGrant Slater <git@firefishy.com>
Sun, 16 Feb 2020 00:06:18 +0000 (00:06 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 16 Feb 2020 00:06:18 +0000 (00:06 +0000)
cookbooks/blogs/recipes/default.rb

index f37b4156f62b145c555287b718db1d23020e93e4..49e52cb57692fb888cf59a9e48581c8a895226ef 100644 (file)
@@ -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