I am trying to pass parameters to a class but am running into a Duplicate declaration error. The docs state this: https://github.com/puppetlabs/puppetlabs-apache#class-apachemodalias
The following yields:
Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Apache::Mod[alias] is already declared
class { 'apache':
server_signature => 'off',
trace_enable => 'off',
mpm_module => 'prefork'
}
include apache::mod::headers
include apache::mod::rewrite
class { 'apache::mod::alias':
icons_options => 'None',
}