projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a8f10fd
)
whitespace fix
author
Peter Palfrader
<peter@palfrader.org>
Sat, 14 Feb 2015 21:39:22 +0000
(22:39 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 14 Feb 2015 21:39:22 +0000
(22:39 +0100)
modules/buildd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/buildd/manifests/init.pp
b/modules/buildd/manifests/init.pp
index
f4547fa
..
0c109e0
100644
(file)
--- a/
modules/buildd/manifests/init.pp
+++ b/
modules/buildd/manifests/init.pp
@@
-166,11
+166,11
@@
class buildd ($ensure=present) {
owner => buildd,
}
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 ]'
+ }
+ }
}
}