[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r510: Grant Kurban Mallachiev access to PowerPC test machine.

Jeff Licquia licquia at linuxfoundation.org
Thu Aug 8 19:17:01 UTC 2013


------------------------------------------------------------
revno: 510
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Thu 2013-08-08 15:17:01 -0400
message:
  Grant Kurban Mallachiev access to PowerPC test machine.
added:
  modules/user/manifests/mallachiev.pp
modified:
  manifests/nodes/lfdev-test-power64.pp
  modules/user/manifests/virtual.pp
-------------- next part --------------
=== modified file 'manifests/nodes/lfdev-test-power64.pp'
--- a/manifests/nodes/lfdev-test-power64.pp	2013-04-10 15:49:15 +0000
+++ b/manifests/nodes/lfdev-test-power64.pp	2013-08-08 19:17:01 +0000
@@ -1,6 +1,6 @@
 node 'lfdev-test-power64.osuosl.org' {
 
-    include user::lfadmin, user::licquia, user::mats
+    include user::lfadmin, user::licquia, user::mats, user::mallachiev
 
     include sudo
 

=== added file 'modules/user/manifests/mallachiev.pp'
--- a/modules/user/manifests/mallachiev.pp	1970-01-01 00:00:00 +0000
+++ b/modules/user/manifests/mallachiev.pp	2013-08-08 19:17:01 +0000
@@ -0,0 +1,19 @@
+class user::mallachiev inherits user::virtual {
+
+    realize(
+        User['mallachiev'],
+    )
+
+    mailalias { 'mallachiev':
+        ensure      => present,
+        recipient   => 'mallachiev at ispras.ru',
+    }
+
+    ssh_authorized_key { 'kurban at bordos':
+        ensure  => present,
+        type    => 'ssh-rsa',
+        key     => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQDKy0y7+756SL+/9VqVy6faUL/iQPEJ83Zr9frgsS83+FEVxosBvMLKzNwYAKS4ukLJE6eNP0EFGUUXR6pH9RJXF1ledEWRj5vJQK4ke2BDuzX+WjVduKJJAjDj//ALTKNyZ4a63ioDkF7PdYrRmc+hiZDoXggPfq7beogu/Hza3sUBI000h/7FV4T1P7+lMuEFP3hqtitmBBu8xmmiaD5rIDcRcjSor3Ds8mA1hVubDKqfzkWaY4X0BciZbSEsseWUcPncVXhXtql0Do03viNqMjGkXXzAmqppTzsaZ8jT5D28l0TRETcoag17X0b87gabBCZlMEhDQpM8z8PkVIFT',
+        user    => 'mallachiev',
+    }
+
+}

=== modified file 'modules/user/manifests/virtual.pp'
--- a/modules/user/manifests/virtual.pp	2013-04-10 19:43:34 +0000
+++ b/modules/user/manifests/virtual.pp	2013-08-08 19:17:01 +0000
@@ -56,4 +56,13 @@
         managehome  => true,
     }
 
+    @user { 'mallachiev':
+        ensure      => present,
+        gid         => 'users',
+        comment     => 'Kurban Mallachiev',
+        home        => '/home/mallachiev',
+        shell       => '/bin/bash',
+        managehome  => true,
+    }
+
 }



More information about the lsb-messages mailing list