0

Very new to puppet here. I want to be able to modify group members that are allowed to authenticate via LDAP to our servers. This is done by modifying the "simple_allow_groups" line in the "sssd.conf" file. How would I have puppet append a string to a specific line in the sssd.conf file if it doesn't already exist? For example, the line may look like:

simple_allow_groups = group1,Group2

and I want it to look like:

simple_allow_groups = group1,Group2,group3

How would I accomplish this in puppet?

3

You can manage the entire file and use the file resource type with the appropriate source or content option or, since sssd.conf uses the ini file format, you can manage that setting with inifile module.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.