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

Realize I read the wrong documentation.

parent 2e6ab420
......@@ -165,18 +165,29 @@ class datorhandbok {
ensure => directory,
}
file { '/var/lib/mediawiki/extensions/CASAuth/':
ensure => link,
target => '/opt/CASAuth-master',
}
archive { 'setup mediawiki CASAuth':
ensure => present,
url => 'https://github.com/CWRUChielLab/CASAuth/archive/master.tar.gz',
target => '/var/lib/mediawiki/extensions/CASAuth/',
strip_components => 1,
ensure => present,
url => 'https://github.com/CWRUChielLab/CASAuth/archive/master.tar.gz',
path => '/opt',
creates => '/opt/CASAuth-master',
extract => true,
}
file { '/var/lib/mediawiki/extensions/CASAuth/CAS/':
ensure => link,
target => '/opt/CAS-1.3.8',
}
archive { 'setup mediawiki CASAuth dependency':
ensure => present,
url => 'https://github.com/apereo/phpCAS/releases/download/1.3.8/CAS-1.3.8.tgz',
target => '/var/lib/mediawiki/extensions/CASAuth/CAS/',
strip_components => 1,
ensure => present,
url => 'https://github.com/apereo/phpCAS/releases/download/1.3.8/CAS-1.3.8.tgz',
path => '/opt',
creates => '/opt/CAS-1.3.8',
}
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