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"
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user