diff --git a/manifests/params.pp b/manifests/params.pp index c0c9aacb2..b948bb6a6 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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')