Restart the server after importing the TLS cert

This commit is contained in:
Greg Karékinian 2019-12-04 17:40:27 +01:00
parent 5ba700cd00
commit 0dbf350540

View File

@ -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" 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 sensitive true
action :nothing action :nothing
notifies :restart, "service[#{service_name}]", :immediately
end end
end end
end end