can I use an input file listing folders, user names and permissions with the acl module

asked 2017-05-05 09:33:10 -0500

If I have say 50 folders to set individual ACL's on can puppet handle an input file and read them in as variables?

edit retag flag offensive close merge delete



I think that you might be able to do this by way of a custom function, but I think it would probably just be easier to store that information in Hiera. Hiera makes it easy to get data into Puppet manifests, and from there you can just loop over the information and declare ACLs.

smarlow gravatar imagesmarlow ( 2017-05-05 10:44:25 -0500 )edit