Add comment about needing to run Chef a second time...
... after the TLS certs are generated
This commit is contained in:
		
							parent
							
								
									3a8af26b5f
								
							
						
					
					
						commit
						613b316588
					
				| @ -1,4 +1,6 @@ | |||||||
| # Generated by Chef for <%= @host[:name] %> | # Generated by Chef for <%= @host[:name] %> | ||||||
|  | # FIXME: The files only exist after the certbot hook created them, meaning | ||||||
|  | # we need to run Chef a second time | ||||||
| <% if File.exist?("/opt/ejabberd/conf/#{@host[:name]}.crt") && File.exist?("/opt/ejabberd/conf/#{@host[:name]}.key") -%> | <% if File.exist?("/opt/ejabberd/conf/#{@host[:name]}.crt") && File.exist?("/opt/ejabberd/conf/#{@host[:name]}.key") -%> | ||||||
| certfiles: | certfiles: | ||||||
|   - "/opt/ejabberd/conf/<%= @host[:name] %>.crt" |   - "/opt/ejabberd/conf/<%= @host[:name] %>.crt" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user