Update IPFS to the latest release

Also fix the ipfs config
This commit is contained in:
Greg Karékinian
2018-04-17 18:51:53 +02:00
parent b4624cf2aa
commit 11db96b3a1
6 changed files with 13 additions and 27 deletions

View File

@@ -12,9 +12,11 @@ unless node.chef_environment == "development"
include_recipe "kosmos-base::letsencrypt"
end
include_recipe "kosmos-nginx"
root_directory = "/var/www/ipfs.kosmos.org"
directory "#{root_directory}/.well-known" do
directory "#{root_directory}/.well-known/acme-challenge" do
owner node["nginx"]["user"]
group node["nginx"]["group"]
action :create