abusesa::services: Fix usermod dependency
This commit is contained in:
parent
980d6286d1
commit
0a387884fd
1 changed files with 2 additions and 1 deletions
|
@ -25,8 +25,9 @@ class abusesa::services(
|
|||
path => '/bin:/usr/bin:/sbin:/usr/sbin',
|
||||
command => "usermod -a -G abuserv ${nginx::user}",
|
||||
unless => "id -n -G ${nginx::user} | grep '\\babuserv\\b'",
|
||||
notify => Service['nginx'],
|
||||
require => [
|
||||
Class['nginx'],
|
||||
Package['nginx'],
|
||||
Group['abuserv'],
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue