Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7
Ruby:
Distribution: Ubuntu/docker
Module version: 4.3.0
How to reproduce (e.g Puppet code you use)
On clean install of ubuntu 22.04 install telegraf. Previously the user would be telegraf however it seems that the new policy for debian is to have service accounts start with a _. This will break the username used to change permisions (at https://github.com/voxpupuli/puppet-telegraf/blob/master/manifests/params.pp#L89).
What are you seeing
Puppet throws an error on new machines when it tries to install telegraf:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
On clean install of ubuntu 22.04 install telegraf. Previously the user would be
telegraf
however it seems that the new policy for debian is to have service accounts start with a_
. This will break the username used to change permisions (at https://github.com/voxpupuli/puppet-telegraf/blob/master/manifests/params.pp#L89).What are you seeing
Puppet throws an error on new machines when it tries to install telegraf:
What behaviour did you expect instead
if would be nice if it had an exec to look up the actual user in case of debian, and store this as a fact.
Output log
Any additional information you'd like to impart