Centos 7 + AD authentication
I have a 2.7 puppet environment that I am moving to puppet 4. one of modules is responsible for allowing AD groups to ssh into servers. process as follows: there is a text file on each client with a single line that represents a group in AD puppet reads that based on value of file above puppet creates /etc/pamallowedgroups with list of standard and custom groups from AD that allowed ssh access.
trying to move this module to puppet 4 I get into all kinds of errors with parsing, undef variables, etc....
What i am wandering if there is a better way to manage this process in puppet 4.