From: Peter Palfrader Date: Sat, 14 Feb 2015 21:39:22 +0000 (+0100) Subject: whitespace fix X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cafaf468d5235a19566af088408834e2d58c8263;hp=a8f10fd2b77f5cc0f29ce1adb047788d25393f19;p=mirror%2Fdsa-puppet.git whitespace fix --- diff --git a/modules/buildd/manifests/init.pp b/modules/buildd/manifests/init.pp index f4547facf..0c109e069 100644 --- a/modules/buildd/manifests/init.pp +++ b/modules/buildd/manifests/init.pp @@ -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 ]' + } + } }