Skip to content

Instantly share code, notes, and snippets.

@runemadsen
Created February 12, 2014 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save runemadsen/8966903 to your computer and use it in GitHub Desktop.
Save runemadsen/8966903 to your computer and use it in GitHub Desktop.
if node['gitlab']['env'] == "production"
[node['gitlab']['repos_path'], node['gitlab']['satellites_path']].each do |f|
directory f do
owner node['gitlab']['user']
group node['gitlab']['group']
mode 00644
action :create
recursive true
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment