]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/buildd/manifests/init.pp
whitespace fix
[dsa-puppet.git] / modules / buildd / manifests / init.pp
index f11f6479295a91ef00d124cf83f844755452289f..0c109e069039c5bf8823027def276e66a0d2109f 100644 (file)
@@ -142,7 +142,7 @@ class buildd ($ensure=present) {
                group   => buildd,
                owner   => buildd,
        }
-       file { '/home/buildd/status':
+       file { '/home/buildd/stats':
                ensure  => directory,
                mode    => '2755',
                group   => buildd,
@@ -166,11 +166,11 @@ class buildd ($ensure=present) {
                owner   => buildd,
        }
 
-        if ! $::buildd_key {
-                exec { 'create-buildd-key':
-                        command => '/bin/su - buildd -c \'mkdir -p -m 02700 .ssh && ssh-keygen -C "`whoami`@`hostname` (`date +%Y-%m-%d`)" -P "" -f .ssh/id_rsa -q\'',
-                        onlyif  => '/usr/bin/getent passwd buildd > /dev/null && ! [ -e /home/buildd/.ssh/id_rsa ]'
-                }
-        }
+       if ! $::buildd_key {
+               exec { 'create-buildd-key':
+                       command => '/bin/su - buildd -c \'mkdir -p -m 02700 .ssh && ssh-keygen -C "`whoami`@`hostname` (`date +%Y-%m-%d`)" -P "" -f .ssh/id_rsa -q\'',
+                       onlyif  => '/usr/bin/getent passwd buildd > /dev/null && ! [ -e /home/buildd/.ssh/id_rsa ]'
+               }
+       }
 
 }