I'm trying to inherit a module using Puppet
class apache::proxy {
file { '/etc/httpd/conf/mods-enabled/proxy.conf':
source => "puppet:///modules/apache/proxy.conf"
}
Defined my own version:
class myapp {
include apache::proxy
file { '/etc/httpd/conf/mods-enabled/proxy.conf':
source => "puppet:///services/myapp/proxy.conf"
}
It keeps throwing this error:
File[/etc/httpd/conf/mods-enabled/proxy.conf] is already defined; cannot redefined
What do I do?