[Mageia-sysadm] [372] ensure .ssh dir is created for iurt user
root at mageia.org
root at mageia.org
Mon Nov 22 01:38:00 CET 2010
Revision: 372
Author: blino
Date: 2010-11-22 01:38:00 +0100 (Mon, 22 Nov 2010)
Log Message:
-----------
ensure .ssh dir is created for iurt user
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-11-22 00:34:10 UTC (rev 371)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-11-22 00:38:00 UTC (rev 372)
@@ -49,6 +49,13 @@
gid => $build_login,
shell => "/bin/bash",
}
+
+ file { "/home/${build_login}/.ssh":
+ ensure => "directory",
+ mode => 600,
+ owner => $build_login,
+ group => $build_login,
+ }
}
class iurt {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101122/84cb3850/attachment.html>
More information about the Mageia-sysadm
mailing list