Add missing changes for mediawiki upgrades

This commit is contained in:
2020-09-05 23:43:28 +02:00
parent 7af26d6ad3
commit b7e2a72369
61 changed files with 1179 additions and 2252 deletions

View File

@@ -1,6 +1,7 @@
module MysqlCookbook
class MysqlServiceManagerSystemd < MysqlServiceBase
resource_name :mysql_service_manager_systemd
provides :mysql_service_manager_systemd
provides :mysql_service_manager, os: 'linux' do |_node|
Chef::Platform::ServiceHelpers.service_resource_providers.include?(:systemd)
@@ -48,7 +49,9 @@ module MysqlCookbook
config: new_resource,
etc_dir: etc_dir,
base_dir: base_dir,
mysqld_bin: mysqld_bin
mysqld_bin: mysqld_bin,
mysql_systemd_start_pre: mysql_systemd_start_pre,
mysql_systemd: mysql_systemd
)
cookbook 'mysql'
notifies :run, "execute[#{new_resource.instance} systemctl daemon-reload]", :immediately