Hello all,
I've written an puppet module to configure my apache webservers, I have the following parameter set:
default_mods => true
I'd like to instert the following code:
class { 'apache::mod::expires':
expires_by_type => [
{'image/gif' => 'now plus 12 hours'},
{'image/jpeg' => 'now plus 12 hours'},
{'text/css' => 'now plus 12 hours'},
{'text/javascript' => 'now plus 12 hours'}],
}
but when I do I see the following error when I perform a rake:
error during compilation: Duplicate declaration: Apache::Mod[expires] is already declared in file
setting default_mods => false means that the rake completes successfully but I'm missing a lot of modules that I need. I was wondering if anyone has had a similar problem and what the best way around it is...
Any help is much appreciated!
Cheers
Kev
↧