One of the packages is responsible for configuring systems to allow certain users ssh access.
a file '/etc/custom_txt_file' manually created on system with contents of: ' a tag'
puppet reads that tag and if it finds match it adds certain AD group to /etc/pam_allowed_groups as well as /etc/sudoers
It is all written in custom code and does not want to play with puppet 4
I am wandering if there are better ways to achieve same functionality using hiera or an existing module if there is one like that.
Any suggestions and help would be appreciated.
Thank you