X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Fmanifests%2Fauthorized_key_collect.pp;h=55eccf656923a440632c7393854f9da55215935d;hb=e801844541145c6c2870dbbb799a50d0964f7578;hp=3fccc25784948d7724e03e6f98982c1e59da5fa5;hpb=02b16838e8bf78c5f981d171993a7a18f520012d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/authorized_key_collect.pp b/modules/ssh/manifests/authorized_key_collect.pp index 3fccc2578..55eccf656 100644 --- a/modules/ssh/manifests/authorized_key_collect.pp +++ b/modules/ssh/manifests/authorized_key_collect.pp @@ -10,6 +10,12 @@ define ssh::authorized_key_collect( order => '000', content => "# This file is maintained with puppet\n", } + 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::Fragment <<| tag == "ssh::authorized_key::fragment::${collect_tag}::${target_user}" |>> Ferm::Rule <<| tag == "ssh::authorized_key::ferm::${collect_tag}::${target_user}" |>>