On Friday, September 7, 2018 at 5:37:29 PM UTC-4, LinuxDan wrote:
>
> Separate the client base directory resource from the application directory 
> resource. 
>
> When declaring each application directory, add a “require” parameter with 
> a value of the client base directory. 
>
>
Thank you for your quick response.

Do you mean that I should create the clients directory separately, feeding 
it with the list of clients? 

I do that already with my devs directories:

  atqapache::varwwwdevuser { [ 'user1', 'user2', 'user3', 'user4', 'user5', 
'user6', 'user7', 'user8', ] :}

Class defined like this:

define atqapache::varwwwdevuser {

  file {
    "/var/www/dev/${title}":
      ensure => directory,
      owner  => "${title}",
      group  => "${title}",
      mode   => 0744,
      require => User["${title}"],
  }
}

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/aa3a562a-3f24-4d9f-b11e-20c4af21931a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to