Skip to content

Commit

Permalink
use www-data on all Debian family systems, not only on Debian and Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 8, 2023
1 parent a453023 commit b886c3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,9 @@
$additional_service_params = '--foreground'
$service_type = 'simple'

$default_web_config_owner = $facts['os']['name'] ? {
/(Ubuntu|Debian)/ => 'www-data',
default => 'apache',
$default_web_config_owner = $facts['os']['family'] ? {
'Debian' => 'www-data',
default => 'apache',
}

$_web_config_owner = getvar('::apache::user')
Expand Down

0 comments on commit b886c3b

Please sign in to comment.