Restart the server after importing the TLS cert
This commit is contained in:
		
							parent
							
								
									5ba700cd00
								
							
						
					
					
						commit
						0dbf350540
					
				@ -109,6 +109,7 @@ action :create do
 | 
			
		||||
      command "ldapadd -x -w #{new_resource.admin_password} -D '#{new_resource.bind_dn}' -f '#{Chef::Config[:file_cache_path]}/tls.ldif' -p #{new_resource.port} -h localhost"
 | 
			
		||||
      sensitive true
 | 
			
		||||
      action :nothing
 | 
			
		||||
      notifies :restart, "service[#{service_name}]", :immediately
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user