[dev_setup] Prettify list of dirs

Confine the list to column limit of 100.

Change-Id: I0b544f967fcd275f49eb0d531a7ca48e054405f4
This commit is contained in:
Jesse Zhang 2012-04-02 09:11:41 -07:00
Родитель 5835c95969
Коммит 122bdc9460
1 изменённых файлов: 9 добавлений и 6 удалений

Просмотреть файл

@ -1,9 +1,8 @@
#
# Cookbook Name:: deployment
# Recipe:: default
#
# Copyright 2011, VMware
#
# Copyright 2012, VMware
# vim: ts=2 sw=2 sts=2 et
node[:nats_server][:host] ||= cf_local_ip
node[:ccdb][:host] ||= cf_local_ip
@ -11,9 +10,13 @@ node[:acmdb][:host] ||= cf_local_ip
node[:uaadb][:host] ||= cf_local_ip
node[:postgresql][:host] ||= cf_local_ip
[node[:deployment][:home], File.join(node[:deployment][:home], "deploy"), node[:deployment][:log_path],
File.join(node[:deployment][:home], "sys", "log"), node[:deployment][:config_path],
File.join(node[:deployment][:config_path], "staging"), node[:deployment][:setup_cache]].each do |dir|
[
node[:deployment][:home], File.join(node[:deployment][:home], "deploy"),
node[:deployment][:log_path], File.join(node[:deployment][:home], "sys", "log"),
node[:deployment][:config_path],
File.join(node[:deployment][:config_path], "staging"),
node[:deployment][:setup_cache],
].each do |dir|
directory dir do
owner node[:deployment][:user]
group node[:deployment][:group]