X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fbuildd_master_wb-authorized_keys.erb;h=1b1759576455209150f1c65dee300096c86ccb5d;hb=65110a2992a5e87b1142c71b9528ad84f6d47a61;hp=04f0c1e715767852e6a4d61fcd22a0dc44400d7b;hpb=4a66c3d9d40bfa56b2cea78eb2817ed124dcaab9;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/buildd_master_wb-authorized_keys.erb b/modules/roles/templates/buildd_master_wb-authorized_keys.erb index 04f0c1e71..1b1759576 100644 --- a/modules/roles/templates/buildd_master_wb-authorized_keys.erb +++ b/modules/roles/templates/buildd_master_wb-authorized_keys.erb @@ -27,9 +27,9 @@ lines = [] for m in buildds do lines << '# ' + m['node'] if m['key'].nil? - lines << "# no key for node" + lines << "## no key for node" else - lines << "command=\"/srv/wanna-build/bin/wanna-build --ssh-wrapper #{m['node']}\"," + + lines << "command=\"/srv/wanna-build/bin/wanna-build --ssh-wrapper #{m['node'].split('.')[0]}\"," + 'no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-user-rc,' + 'from="' + m['addr'].join(',') + '" ' + m['key']