Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

creating public_html for every user

$
0
0
I want to ensure that public_html directory is present for every user. The catch is that I dont want to specify the users, for I might not know the names of them. I use the following syntax. Is there something I could use in the user slot so that it would check what users exist and give them the directory file { '/home/user/public_html': ensure => 'directory', }

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>