Add missing changes for mediawiki upgrades
This commit is contained in:
@@ -18,6 +18,26 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
if node['php']['fpm_ini_control']
|
||||
|
||||
service node['php']['fpm_service'] do
|
||||
action :enable
|
||||
end
|
||||
|
||||
template "#{node['php']['fpm_conf_dir']}/php.ini" do
|
||||
source node['php']['ini']['template']
|
||||
cookbook node['php']['ini']['cookbook']
|
||||
owner 'root'
|
||||
group node['root_group']
|
||||
mode '0644'
|
||||
manage_symlink_source true
|
||||
variables(directives: node['php']['directives'])
|
||||
notifies :restart, "service[#{node['php']['fpm_service']}]"
|
||||
not_if { node['php']['fpm_conf_dir'].nil? }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
template "#{node['php']['conf_dir']}/php.ini" do
|
||||
source node['php']['ini']['template']
|
||||
cookbook node['php']['ini']['cookbook']
|
||||
|
||||
Reference in New Issue
Block a user