hartmantis/clamav-chef

Recipe is incorrectly setting acronym options as camel case

Opened this issue · 1 comments

When overridding the config for [clamd].[config].[tcp_socket] it will update the clamd.conf file with:

Below are the values I'm overriding along with a null value for local_socket to remove that option in the config.

       - update content in file /etc/clamav/clamd.conf
         ##############################################
         StreamMaxPort XXXXX
         StreamMinPort XXXXX
        +TcpSocket XXXX

This property is then not recognised when starting up the clamav service. I assume this would be the case for any acronym in that should be upper case in the config file.

You can set the configuration to "t_c_p_socket" : 3310 to get this to work correctly but this is a workaround.