how can i turn a fact output from a one line string to multiple lines?
I have a custom fact that outputs a list of AD security groups that have access to my servers. Unfortunately these groups are seen as a single string so I cannot parse through and see all servers that have group E granted access for example. Is there a way to turn this string into an array or something that will make it easily searchable? Let me know if you need me to pastebin my fact.