whitespace fix
authorPeter Palfrader <peter@palfrader.org>
Sat, 14 Feb 2015 21:39:22 +0000 (22:39 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 14 Feb 2015 21:39:22 +0000 (22:39 +0100)
modules/buildd/manifests/init.pp

index f4547fa..0c109e0 100644 (file)
@@ -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 ]'
+               }
+       }
 
 }