Allow to create a package and install a package compiled from GitHub

Also add nginx config for reverse proxying and set up Let's Encrypt
automatically
This commit is contained in:
Greg Karékinian
2017-05-05 19:47:30 +02:00
parent fcf3b0b0dc
commit 2624c09875
13 changed files with 274 additions and 20 deletions

View File

@@ -7,17 +7,7 @@
# All rights reserved - Do Not Redistribute
#
group "parity" do
gid 72748
end
user "parity" do
system true
manage_home true
comment "parity user"
uid 72748
gid 72748
end
include_recipe 'kosmos-parity::user'
parity_version = node['kosmos-parity']['version']
parity_package_path = "#{Chef::Config[:file_cache_path]}/parity_#{parity_version}_amd64.deb"