nginx: Fix nginx user on OpenBSD
This commit is contained in:
parent
7ef94e5b11
commit
68a8f63d1b
1 changed files with 2 additions and 7 deletions
|
@ -6,13 +6,8 @@ class nginx(
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
'openbsd': {
|
'openbsd': {
|
||||||
if $::kernelversion == '5.6' {
|
$user = 'www'
|
||||||
$user = 'www'
|
$group = 'www'
|
||||||
$group = 'www'
|
|
||||||
} else {
|
|
||||||
$user = '_nginx'
|
|
||||||
$group = '_nginx'
|
|
||||||
}
|
|
||||||
$logdir = '/var/www/logs'
|
$logdir = '/var/www/logs'
|
||||||
}
|
}
|
||||||
'ubuntu': {
|
'ubuntu': {
|
||||||
|
|
Loading…
Add table
Reference in a new issue