Restart the server after importing the TLS cert

This commit is contained in:
greg committed 2019-12-04 17:40:27 +01:00
1 parent 5ba700cd00
commit 0dbf350540
1 file changed
+1
@@ -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