Use kosmos.org email address
This commit is contained in:
		
							parent
							
								
									a77580d6da
								
							
						
					
					
						commit
						41db5b2b73
					
				| @ -52,7 +52,7 @@ unless node.chef_environment == "development" | |||||||
|   # Generate a Let's Encrypt cert (only if the nginx vhost exists and no cert |   # Generate a Let's Encrypt cert (only if the nginx vhost exists and no cert | ||||||
|   # has been generated before. The renew cron will take care of renewing |   # has been generated before. The renew cron will take care of renewing | ||||||
|   execute "letsencrypt cert for #{node["kosmos-ipfs"]["nginx"]["domain"]}" do |   execute "letsencrypt cert for #{node["kosmos-ipfs"]["nginx"]["domain"]}" do | ||||||
|     command "/usr/bin/certbot certonly --webroot --agree-tos --email ops@5apps.com --webroot-path #{root_directory} -d #{node["kosmos-ipfs"]["nginx"]["domain"]} -n" |     command "/usr/bin/certbot certonly --webroot --agree-tos --email ops@kosmos.org --webroot-path #{root_directory} -d #{node["kosmos-ipfs"]["nginx"]["domain"]} -n" | ||||||
|     only_if do |     only_if do | ||||||
|       File.exist?("#{node['nginx']['dir']}/sites-enabled/#{node["kosmos-ipfs"]["nginx"]["domain"]}") && |       File.exist?("#{node['nginx']['dir']}/sites-enabled/#{node["kosmos-ipfs"]["nginx"]["domain"]}") && | ||||||
|         !File.exist?("/etc/letsencrypt/live/#{node["kosmos-ipfs"]["nginx"]["domain"]}/fullchain.pem") |         !File.exist?("/etc/letsencrypt/live/#{node["kosmos-ipfs"]["nginx"]["domain"]}/fullchain.pem") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user