X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fweblog_destination.pp;h=8f051be105f64dafa572fe063316ab7235e2ef4a;hb=b3766327be68cc9aad0da7aa0c7bf42668f23590;hp=662bdee9006fc48ffbbbd2b512eb02665d4145d7;hpb=eb86cec8a0737b9d471c0df4221694c68319597e;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/weblog_destination.pp b/modules/roles/manifests/weblog_destination.pp index 662bdee90..8f051be10 100644 --- a/modules/roles/manifests/weblog_destination.pp +++ b/modules/roles/manifests/weblog_destination.pp @@ -1,5 +1,7 @@ +# the sink where all provider of webserver logs ship their things to class roles::weblog_destination { - file { '/etc/ssh/userkeys/weblogsync': - content => template('roles/weblog_destination-authorized_keys.erb'), - } + ssh::authorized_key_collect { 'weblogsync': + target_user => 'weblogsync', + collect_tag => 'weblogsync', + } }