Update ejabberd to 20.12
It fixes a bug that prevented the config to be reloaded for LDAP options (https://github.com/processone/ejabberd/issues/3181) and more: https://www.process-one.net/blog/ejabberd-20-12/
This commit is contained in:
		
							parent
							
								
									e31f9ced96
								
							
						
					
					
						commit
						90ce664f2e
					
				@ -1,5 +1,5 @@
 | 
			
		||||
node.default["kosmos-ejabberd"]["version"] = "20.04"
 | 
			
		||||
node.default["kosmos-ejabberd"]["checksum"] = "5377ff18960a399e661fa23f4a1d9f57c78d4579ed108c52b8f68e7cd9268868"
 | 
			
		||||
node.default["kosmos-ejabberd"]["version"] = "20.12"
 | 
			
		||||
node.default["kosmos-ejabberd"]["checksum"] = "3d2a4e9d1aa2d189017f4f310eff4d0b6c6d7cd911209cfbcca7b0ec5b577b65"
 | 
			
		||||
node.default["kosmos-ejabberd"]["turn_min_port"] = 50000
 | 
			
		||||
node.default["kosmos-ejabberd"]["turn_max_port"] = 55000
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -159,13 +159,7 @@ hosts.each do |host|
 | 
			
		||||
              ldap_server: ldap_domain,
 | 
			
		||||
              ldap_rootdn: ldap_rootdn,
 | 
			
		||||
              ldap_encryption_type: ldap_encryption_type
 | 
			
		||||
    # Restarting the service is needed because the LDAP options are only parsed
 | 
			
		||||
    # on start (https://github.com/processone/ejabberd/issues/3181#issuecomment-594482546)
 | 
			
		||||
    # This can be changed back to reloading when this is part of a release:
 | 
			
		||||
    # https://github.com/processone/ejabberd/commit/b39a1e2d74cd4d400a7f062e31056057573298e8
 | 
			
		||||
    #
 | 
			
		||||
    # notifies :run, "execute[ejabberdctl reload_config]", :delayed
 | 
			
		||||
    notifies :restart, "service[ejabberd]", :delayed
 | 
			
		||||
    notifies :run, "execute[ejabberdctl reload_config]", :delayed
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user