[Mageia-sysadm] [848] ssh_access not needed anymore

root at mageia.org root at mageia.org
Tue Jan 18 19:42:29 CET 2011


Revision: 848
Author:   boklm
Date:     2011-01-18 19:42:28 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
ssh_access not needed anymore

Modified Paths:
--------------
    puppet/modules/bcd/manifests/init.pp

Modified: puppet/modules/bcd/manifests/init.pp
===================================================================
--- puppet/modules/bcd/manifests/init.pp	2011-01-18 18:37:14 UTC (rev 847)
+++ puppet/modules/bcd/manifests/init.pp	2011-01-18 18:42:28 UTC (rev 848)
@@ -1,33 +1,23 @@
 class bcd {
     class variable {
-
         $bcd_login = 'bcd'
         $bcd_home = '/home/bcd'
     }
 
     class base inherits variable {
-        include sudo
+	include sudo
 
         buildsystem::sshuser { $bcd_login:
             homedir => $bcd_home,
             comment => "User for creating ISOs",
-	    }
+	}
 
         package { bcd:
-            ensure => 'installed',
+	    ensure => 'installed',
         }
 
         sudo::sudoers_config { "bcd":
-            content => template("bcd/sudoers.bcd")
+	    content => template("bcd/sudoers.bcd")
         }
     }
-
-    define ssh_access($type, $key) {
-        include bcd::variable
-        ssh_authorized_key{$name:
-            type => $type,
-            key => $key,
-            user => $bcd_login,
-        }
-    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/baca262b/attachment.html>


More information about the Mageia-sysadm mailing list