Hi,

I found out that it does only break if I add one special vhost.
The problematic vhost is defined as follows:

class vhost::vhost3 {
  custom::apache::vhost{
  #parameter
   }

  include ::apache::mod::proxy
  include ::apache::mod::proxy_http
}

If I remove the Includes everything works (but I need mod_proxy for this 
vhost).


On Saturday, June 9, 2018 at 8:45:46 AM UTC+2, Clemens Bergmann wrote:
>
> What confuses me is that I before switching to puppetlabs-apache I had a 
> layout with a custom apache module as follows:
>
> class vhost::vhost1 {
>   custom_apache::site{
> #parameters
>   }
> }
>
> define custom_apache::site (#parameters) {
>   include custom_apache::ssl
> }
>
> class custom_apache::ssl (#parameters){
>   class { 'custom_apache':
>    #parameters
>  }
> }
>
> class custom_apache (#parameters) {
>   include custom_apache::params
>   class {'custom_apache::install':
>     #parameters
>   }
>   class {'custom_apache::config':
>     #parameters
>   }
>   class {'custom_apache::service':
>     #parameters
>   }
> }
>
> and that worked.
>
> I also suspect the the line 
> https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/mod/ssl.pp#L24
>  
> to be the problem. But that would also be a problem with only one vhost and 
> that works fine on another node.
>

-- 
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/0665b012-601b-4fac-83ff-fa7acfae9fa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to