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}" |>>