I'd prefer to see the entire vhost.pp code but it looks like the issue is 
the same as I mentioned previously, you have multiple atqapache::vhost 
resources attempting to manage the client base directory.  I've ran into a 
similar issue with my own modules and was able to hack around it using the 
defined() function.  For example:

if !defined(File["$client_base"]) {
   file { [ "$client_base", ]:
      ensure  => 'directory',
      owner   => "$owner",
      group   => "$group",
      mode    => 0744,
    }
}

There may be a better option but this way ensures that the resource is only 
created once.


On Monday, September 10, 2018 at 10:22:18 AM UTC-4, Ugo Bellavance wrote:
>
>
>
> On Monday, September 10, 2018 at 9:46:18 AM UTC-4, Michael Watters wrote:
>>
>> It sounds like your atqapache::vhost type is attempting to create 
>> the /var/www/dev/user1/client1 directory for every vhost that is defined.  
>> Can you post your definition for this type here?
>>
>>
>>>
> Wasn't it in my first post?
>
>     file { [ "$client_base", ]:
>       ensure  => 'directory',
>       owner   => "$owner",
>       group   => "$group",
>       mode    => 0744,
>     } 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9bc26f73-8d1a-4824-a7f8-baf5bf414547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to