X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Fmanifests%2Fauthorized_key_collect.pp;h=7c121e4e756ae0dbf8bb3a8f3911b42e552ba948;hb=f071e2941f6102c1d083390e0fe9de716ce8d097;hp=48a0790f0015931d6bbda794dec4c90512d63e50;hpb=e2668ca6837c31b297f348754f9166c10e75f427;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/authorized_key_collect.pp b/modules/ssh/manifests/authorized_key_collect.pp index 48a0790f0..7c121e4e7 100644 --- a/modules/ssh/manifests/authorized_key_collect.pp +++ b/modules/ssh/manifests/authorized_key_collect.pp @@ -4,11 +4,9 @@ define ssh::authorized_key_collect( String $target_user, String $collect_tag, ) { - concat { "/etc/ssh/puppetkeys/${target_user}": } - concat::fragment { "/etc/ssh/puppetkeys/${target_user}-header": - target => "/etc/ssh/puppetkeys/${target_user}", - order => '000', - content => "# This file is maintained with puppet\n", + concat { "/etc/ssh/puppetkeys/${target_user}": + warn => '# This file is maintained with puppet', + ensure_newline => true, } Concat::Fragment <<| tag == "ssh::authorized_key::fragment::${collect_tag}::${target_user}" |>>