Merge branch 'bugfix/enable_dirsrv' of kosmos/chef into master

This commit is contained in:
Greg 2020-05-15 15:24:42 +00:00
commit 4475af9204

View File

@ -57,7 +57,14 @@ action :create do
end
service service_name do
action [:enable, :start]
action [:start]
end
# :enable on the dirsrv@master service creates the wrong file
# (/etc/systemd/system/dirsrv.target.wants/dirsrv@master.service), seems to
# be a Chef bug. Let's do it manually
link "/etc/systemd/system/multi-user.target.wants/dirsrv@master.service" do
to "/lib/systemd/system/dirsrv@.service"
end
cookbook_file "#{Chef::Config[:file_cache_path]}/acis.ldif" do