I'm trying to set default options for all vhosts. The documentation says "All of the SSL parameters for ::vhost will default to whatever is set in the base apache class" (https://forge.puppetlabs.com/puppetlabs/apache#ssl-parameters-for-apachevhost). However, this does not work:
class { '::apache':
ssl_protocol => 'all -SSLv2 -SSLv3',
}
It throws "Error 400 on SERVER: Invalid parameter ssl_protocol on Class[Apache]"
What am I doing wrong?
The ssl_protocol
parameter is part of the Apache::Vhost
defined type. Not part of the apache
class.
You can set the defaults with the following:
Apache::Vhost { ssl_protocol => 'all -SSLv2 -SSLv3' }
Hope this helps.