Merge branch 'bugfix/enable_dirsrv' of kosmos/chef into master
This commit is contained in:
commit
4475af9204
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user