Comment 2 for bug 1849578

Revision history for this message
Adam Dyess (addyess) wrote :

My approach on this will be to create a new directory

/etc/apache2/vhost.d/

in which the nagios template for the VirtualHost includes anything from this directory with
```
  IncludeOptional /etc/apache2/vhost.d/*.include
```

Then in the thruk-agent charm, we can symlink:
  /etc/apache2/vhost.d/thruk_cookie_auth.include --> /usr/share/thruk/thruk_cookie_auth.include

Nagios: https://code.launchpad.net/~addyess/charm-nagios/+git/charm-nagios/+merge/387090
Thruk-Agent: https://code.launchpad.net/~addyess/charm-thruk-agent/+git/charm-thruk-agent/+merge/387091