From fa605f4ad2cf236e93e97e81f7565b7a92af12a8 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Mon, 13 May 2013 09:22:33 -0400 Subject: [PATCH] Sets /etc/shadow as world-readable. Not ideal, but running jenkins under runit necessitates it. --- cookbooks-override/inception/recipes/default.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbooks-override/inception/recipes/default.rb b/cookbooks-override/inception/recipes/default.rb index 13519c7..b724306 100644 --- a/cookbooks-override/inception/recipes/default.rb +++ b/cookbooks-override/inception/recipes/default.rb @@ -37,6 +37,10 @@ action :modify end +file "/etc/shadow" do + mode "0644" +end + # Set global Jenkins configs %w{ hudson.plugins.disk_usage.DiskUsageProjectActionFactory.xml @@ -59,6 +63,7 @@ notifies :create, "ruby_block[block_until_operational]", :immediately end +# Create jenkins home directory. directory node['jenkins']['node']['home'] do owner node['jenkins']['server']['user'] group node['jenkins']['server']['group']