commit
83ee7702a4
5 changed files with 6 additions and 4 deletions
|
|
@ -11,7 +11,9 @@ dev_pkgs = value_for_platform(
|
||||||
"debian" => {
|
"debian" => {
|
||||||
"default" => [
|
"default" => [
|
||||||
"libxml2-dev",
|
"libxml2-dev",
|
||||||
"libxslt-dev",
|
"libxslt1-dev",
|
||||||
|
"libsqlite3-dev",
|
||||||
|
"libmysqlclient-dev",
|
||||||
"libssl-dev",
|
"libssl-dev",
|
||||||
"libcurl4-openssl-dev"
|
"libcurl4-openssl-dev"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ execute "executable" do
|
||||||
command "chmod -R 755 /service/mysql"
|
command "chmod -R 755 /service/mysql"
|
||||||
end
|
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|
|
config['thins'].each do |thin|
|
||||||
port = thin["port"]
|
port = thin["port"]
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ execute "change crossdomain.xml permissions" do
|
||||||
command "chmod 755 /usr/local/nginx/html/crossdomain.xml"
|
command "chmod 755 /usr/local/nginx/html/crossdomain.xml"
|
||||||
end
|
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
|
template "/usr/local/nginx/conf/nginx.conf" do
|
||||||
source "nginx.conf.erb"
|
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'],
|
variables :ports => config['thins'].map{|thin| "#{thin["port"]}"}, :url => config['url'], :cert_location => config['cert_location'], :key_location => config['key_location'],
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ unless system "splunk status"
|
||||||
end
|
end
|
||||||
|
|
||||||
execute "Download splunk" do
|
execute "Download splunk" do
|
||||||
command "cd /tmp/install && wget 'http://www.splunk.com/index.php/download_track?file=4.1.5/linux/splunk-4.1.5-85165-Linux-x86_64.tgz&ac=&wget=true&name=wget&typed=releases'"
|
command "cd /tmp/install && wget 'http://www.splunk.com/index.php/download_track?file=4.1.5/linux/splunk-4.1.5-85165-Linux-x86_64.tgz&ac=&wget=true&name=wget&typed=releases' -O splunk-4.1.5-85165-Linux-x86_64.tgz"
|
||||||
end
|
end
|
||||||
|
|
||||||
execute "Untar splunk" do
|
execute "Untar splunk" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue