voxpupuli / puppet-zabbix

Puppet module for creating and maintaining zabbix components with puppet.
https://forge.puppet.com/puppet/zabbix
Apache License 2.0
79 stars 228 forks source link

Set DirectoryIndex in the zabbix module #853

Closed teluq-pbrideau closed 1 year ago

teluq-pbrideau commented 1 year ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

  class { 'apache':
    default_mods  => false,
  }

  class { 'zabbix' :
    [...]
  }

What are you seeing

curl --head https://zabbix.example.com/
HTTP/1.1 404 Not Found
[...]
curl https://zabbix.example.com/index.php --head
HTTP/1.1 200 OK
[...]

What behaviour did you expect instead

I expect the zabbix web page to be available by default once configured.

Output log

Any additional information you'd like to impart

Disabling the defaults_mods in apache render the zabbix web page not fully functionnal.

I included the apache::mod::dir in my zabbix profile, but it could probably be included by defaut in the zabbix module. Am I wrong to think this?