]> gitweb.fluxo.info Git - puppet-etherpad.git/commitdiff
Fixing user and group definitions
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Dec 2011 16:27:11 +0000 (14:27 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Dec 2011 16:27:11 +0000 (14:27 -0200)
manifests/init.pp

index 927be2dc46bc6dab27718f3bca17612b46c97489..f45fae9cf4d4e23f38eed6b11c3bf4b43995f8fb 100644 (file)
@@ -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':