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',
}
↧