[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r71: Add user for Mats Wichmann.
Jeff Licquia
licquia at linuxfoundation.org
Fri Jan 27 16:58:15 UTC 2012
------------------------------------------------------------
revno: 71
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Fri 2012-01-27 11:58:15 -0500
message:
Add user for Mats Wichmann.
added:
modules/user/manifests/mats.pp
modified:
manifests/nodes/lsb1.pp
modules/user/manifests/virtual.pp
-------------- next part --------------
=== modified file 'manifests/nodes/lsb1.pp'
--- a/manifests/nodes/lsb1.pp 2012-01-27 15:25:39 +0000
+++ b/manifests/nodes/lsb1.pp 2012-01-27 16:58:15 +0000
@@ -1,6 +1,6 @@
node 'lsb1.linux-foundation.org' {
- include user::lfadmin, user::licquia, user::stewb
+ include user::lfadmin, user::licquia, user::stewb, user::mats
include sudo
=== added file 'modules/user/manifests/mats.pp'
--- a/modules/user/manifests/mats.pp 1970-01-01 00:00:00 +0000
+++ b/modules/user/manifests/mats.pp 2012-01-27 16:58:15 +0000
@@ -0,0 +1,24 @@
+class user::mats inherits user::virtual {
+
+ realize(
+ User['mats'],
+ )
+
+ mailalias { 'mats':
+ ensure => present,
+ recipient => 'mats at linuxfoundation.org',
+ }
+
+ ssh_authorized_key { 'mats at linuxfoundation.org':
+ ensure => present,
+ user => 'mats',
+ # Pick the correct type (first word in the public key file).
+ type => 'ssh-rsa',
+ #type => 'ssh-dss',
+ # Paste key between the quotes (the gobbledygook w/o the type or id)
+ key => '',
+ # Delete the following line once the ssh key has been added.
+ noop => true,
+ }
+
+}
=== modified file 'modules/user/manifests/virtual.pp'
--- a/modules/user/manifests/virtual.pp 2012-01-27 15:25:39 +0000
+++ b/modules/user/manifests/virtual.pp 2012-01-27 16:58:15 +0000
@@ -31,4 +31,14 @@
managehome => true,
}
+ @user { 'mats':
+ ensure => present,
+ uid => '1003',
+ gid => '100',
+ comment => 'Mats Wichmann',
+ home => '/home/mats',
+ shell => '/bin/bash',
+ managehome => true,
+ }
+
}
More information about the lsb-messages
mailing list