From: Silvio Rhatto Date: Mon, 26 Dec 2011 16:27:11 +0000 (-0200) Subject: Fixing user and group definitions X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e72d64249cdda857f93b9540357aefc34f7ef15b;p=puppet-etherpad.git Fixing user and group definitions --- diff --git a/manifests/init.pp b/manifests/init.pp index 927be2d..f45fae9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -18,14 +18,16 @@ class etherpad { require => Mysql_user["etherpad@%"], } - user { "etherpad-lite": + group { "etherpad-lite": ensure => present, allowdupe => false, } - group { "etherpad-lite": + user { "etherpad-lite": ensure => present, allowdupe => false, + gid => 'etherpad-lite', + require => Group['etherpad-lite'], } package { 'npm':