I need to create a user account and a lot of files for that user with Puppet.
Works fine with the most straightforward approach, but on every file
resource I have to specify owner => 'theuser'
, which seems horribly redundant (if I don't they end up root-owned).
Is there a way to have a scoped default for the owner? Or something like sudo where puppet runs under that user for a certain set of resources?