Changed references for common cookbook to diaspora cookbook

This commit is contained in:
Tray Torrance 2011-11-15 17:09:48 -08:00
parent a197f16e5f
commit 4df938425f
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ execute "executable" do
command "chmod -R 755 /service/mysql"
end
config = YAML.load_file("/usr/local/app/diaspora/chef/cookbooks/common/files/default/thins.yml")
config = YAML.load_file("/usr/local/app/diaspora/chef/cookbooks/diaspora/files/default/thins.yml")
config['thins'].each do |thin|
port = thin["port"]

View file

@ -26,7 +26,7 @@ execute "change crossdomain.xml permissions" do
command "chmod 755 /usr/local/nginx/html/crossdomain.xml"
end
config = YAML.load_file("/usr/local/app/diaspora/chef/cookbooks/common/files/default/thins.yml")
config = YAML.load_file("/usr/local/app/diaspora/chef/cookbooks/diaspora/files/default/thins.yml")
template "/usr/local/nginx/conf/nginx.conf" do
source "nginx.conf.erb"
variables :ports => config['thins'].map{|thin| "#{thin["port"]}"}, :url => config['url'], :cert_location => config['cert_location'], :key_location => config['key_location'],