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

...

parent c3089706
......@@ -160,21 +160,17 @@ class datorhandbok {
# /etc/apache2/mods-enabled/php7.3.{conf,load} -> ../mods-available/&
file { [ '/var/lib/mediawkiki/extensions/CASAuth',
'/var/lib/mediawkiki/extensions/CASAuth/CAS' ]:
ensure => directory,
}
file { '/var/lib/mediawiki/extensions/CASAuth/':
ensure => link,
target => '/opt/CASAuth-master',
}
archive { '/opt/master.tar.gz':
ensure => present,
url => 'https://github.com/CWRUChielLab/CASAuth/archive/master.tar.gz',
creates => '/opt/CASAuth-master',
extract => true,
ensure => present,
url => 'https://github.com/CWRUChielLab/CASAuth/archive/master.tar.gz',
creates => '/opt/CASAuth-master',
extract_path => '/opt',
extract => true,
}
file { '/var/lib/mediawiki/extensions/CASAuth/CAS/':
......@@ -186,6 +182,7 @@ class datorhandbok {
ensure => present,
url => 'https://github.com/apereo/phpCAS/releases/download/1.3.8/CAS-1.3.8.tgz',
creates => '/opt/CAS-1.3.8',
extract_path => '/opt',
}
file { '/var/lib/mediawiki/extensions/CASAuth/CASAuthSettings.php':
......
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