Commit 174be3aa authored by mh's avatar mh
Browse files

treat fcgid the same way as itk

parent 638a311e
......@@ -76,7 +76,7 @@ define webhosting::common(
}
case $run_mode {
'static','itk','proxy-itk','static-itk': {
'fcgid','static','itk','proxy-itk','static-itk': {
if ($user_access == 'sftp') {
if ($ensure != 'absent') {
User::Sftp_only["${real_uid_name}"]{
......@@ -108,7 +108,7 @@ define webhosting::common(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid=='absent') and ($ensure != 'absent') {
fail("you need to define run_uid for $name on $fqdn to use itk")
}
......
......@@ -105,7 +105,7 @@ define webhosting::modperl(
mod_security => $mod_security,
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -131,7 +131,7 @@ define webhosting::passenger(
passenger_app => $passenger_app,
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -136,7 +136,7 @@ define webhosting::php(
mod_security => $mod_security,
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -152,7 +152,7 @@ define webhosting::php::drupal(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -150,7 +150,7 @@ define webhosting::php::gallery2(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -143,7 +143,7 @@ define webhosting::php::joomla(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -147,7 +147,7 @@ define webhosting::php::mediawiki(
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -144,7 +144,7 @@ define webhosting::php::silverstripe(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -144,7 +144,7 @@ define webhosting::php::simplemachine(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -116,7 +116,7 @@ define webhosting::php::spip(
mod_security => $mod_security,
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -144,7 +144,7 @@ define webhosting::php::typo3(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
......@@ -146,7 +146,7 @@ define webhosting::php::wordpress(
}
}
case $run_mode {
'itk','proxy-itk','static-itk': {
'fcgid','itk','proxy-itk','static-itk': {
if ($run_uid_name == 'absent'){
$real_run_uid_name = "${name}_run"
} else {
......
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