/[adm]/puppet/modules/buildsystem/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/buildsystem/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 861 by boklm, Thu Jan 20 17:41:50 2011 UTC revision 862 by boklm, Thu Jan 20 17:48:07 2011 UTC
# Line 171  class buildsystem { Line 171  class buildsystem {
171          }          }
172      }      }
173    
174      define sshuser($homedir, $comment) {      # $groups: array of secondary groups (only local groups, no ldap)
175        define sshuser($homedir, $comment, $groups = []) {
176          group {"$title":          group {"$title":
177              ensure => present,              ensure => present,
178          }          }
# Line 181  class buildsystem { Line 182  class buildsystem {
182              comment => $comment,              comment => $comment,
183              managehome => true,              managehome => true,
184              gid => $title,              gid => $title,
185                groups => $groups,
186              shell => "/bin/bash",              shell => "/bin/bash",
187              notify => Exec["unlock$title"],              notify => Exec["unlock$title"],
188              require => Group[$title],              require => Group[$title],

Legend:
Removed from v.861  
changed lines
  Added in v.862

  ViewVC Help
Powered by ViewVC 1.1.30