我正在尝试将参数传递给一个类,但遇到了重复声明错误。文档说明了这一点:https ://github.com/puppetlabs/puppetlabs-apache#class-apachemodalias
以下产量:
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',
}