[Mageia-sysadm] [380] home should be tested as a directory

root at mageia.org root at mageia.org
Mon Nov 22 08:20:26 CET 2010


Revision: 380
Author:   blino
Date:     2010-11-22 08:20:25 +0100 (Mon, 22 Nov 2010)
Log Message:
-----------
home should be tested as a directory

Modified Paths:
--------------
    puppet/modules/ssh/manifests/auth.pp

Modified: puppet/modules/ssh/manifests/auth.pp
===================================================================
--- puppet/modules/ssh/manifests/auth.pp	2010-11-22 07:15:50 UTC (rev 379)
+++ puppet/modules/ssh/manifests/auth.pp	2010-11-22 07:20:25 UTC (rev 380)
@@ -237,6 +237,10 @@
 
 define ssh_auth_key_client ($ensure, $filename, $group, $home, $user) {
 
+  file { $home:
+    ensure => "directory",
+  }
+
   File {
     owner   => $user,
     group   => $group,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101122/0f393bf1/attachment.html>


More information about the Mageia-sysadm mailing list