Added htaccess fix for moin
This commit is contained in:
parent
cdf3e834fa
commit
a564446fd6
1 changed files with 14 additions and 0 deletions
|
@ -42,6 +42,20 @@ class wiki::moin {
|
||||||
require => Util::Patch["/usr/local/src/moin"],
|
require => Util::Patch["/usr/local/src/moin"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$htdocs = $operatingsystem ? {
|
||||||
|
"ubuntu" => "/usr/local/share/moin/htdocs",
|
||||||
|
default => "/usr/share/moin/htdocs",
|
||||||
|
}
|
||||||
|
|
||||||
|
file { "${htdocs}/.htaccess":
|
||||||
|
ensure => present,
|
||||||
|
mode => 0644,
|
||||||
|
owner => "root",
|
||||||
|
group => "root",
|
||||||
|
content => "SetHandler None\n",
|
||||||
|
require => Python::Setup::Install["/usr/local/src/moin"],
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue