Commit ed95af82 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

ensure php modules.

parent e7fbf069
......@@ -148,9 +148,23 @@ class datorhandbok {
require => Package['mediawiki'],
}
# sed -i /etc/php/7.3/apache2/php.ini /^;?extension=curl/
file { '/etc/php/7.3/apache2/conf.d/20-curl.ini':
ensure => link,
target => '/etc/php/7.3/mods-available/curl.ini',
}
# /etc/apache2/mods-enabled/php7.3.{conf,load} -> ../mods-available/&
# mods-enabled/php* might need to be removed
file { '/etc/apache2/mods-enabled/php7.3.conf':
ensure => link,
target => '../mods-available/php7.3.conf',
}
file { '/etc/apache2/mods-enabled/php7.3.load':
ensure => link,
target => '../mods-available/php7.3.load',
}
file { '/var/lib/mediawiki/extensions/CASAuth/':
ensure => link,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment