Skip to content

Commit

Permalink
Sets /etc/shadow as world-readable. Not ideal, but running jenkins un…
Browse files Browse the repository at this point in the history
…der runit necessitates it.
  • Loading branch information
Patrick Connolly committed May 13, 2013
1 parent f08251b commit fa605f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cookbooks-override/inception/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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']
Expand Down

0 comments on commit fa605f4

Please sign in to comment.