camptocamp/puppet-apache — Issue #15: How would I get Apache to not listen on port 80?
Author: smerrill
Created: 2011-11-17 23:42:50+00:00
State: open

Thanks for the great set of Puppet modules. I like them a lot, but I'm running into a bit of a bind.

In short, I want Apache to only listen on port 8080 in order to use Varnish on 80.

Neither of these approaches works.

apache::listen { "80": ensure => absent }
apache::namevhost { "*:80": ensure => absent }

file { "/etc/apache2/ports.conf.d/apache-ports.conf-80":
ensure => absent,
}
file { "/etc/apache2/ports.conf.d/apache-namevhost.conf-*:80":
ensure => absent,
}

What would you recommend?