I have a home directory being created and not removed as a user is added/removed. That is desired behavior. However, there are certain files/dirs in that home directory that I want to always remove if the user gets marked absent. Unfortunately, the dependencies lead back to the home directory, which leads to the user, and since the user is removed first, the removal of files/dirs in the homedir always gets skipped because of failed dependencies. The files are always referred to as ${homedir}/${username}/<file_to_be_removed>. Does anyone have an elegant solution to this problem?
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/6A-0i7X5p3IJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.