On Monday, October 26, 2015 at 8:41:02 AM UTC-5, tobias...@gmail.com wrote:
>
> As far as I have read it's not possible to change the default port for 
> Apache
>
> class 
> { 'apache': default => 8080, } 
>
> apache::listen 
> { '8080': } 
>
> will just add the port 8080 but the port 80 is still available.
>
>
> Is this a bug? If not does somebody know how to do that?
>


As far as I can tell from the module's source, only the Listen directives 
you explicitly declare are recorded in the apache configuration 
(specifically, in ports.conf).  According to the apache docs, the server 
listens only to those addresses/ports you explicitly configure.  The module 
source appears to indicate that by default, puppet will restart the httpd 
service if it modifies apache configuration, thereby making it read and use 
the new configuration.

Therefore, I am inclined to believe either that you are using a (very) old 
version of the module, or that your report is inaccurate (perhaps puppet 
has not or cannot apply the configuration you specify?).  What version of 
the module are you in fact using?  How do you reproduce and substantiate 
this issue?


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/253b2712-a005-4d1d-b617-fa67d2a33de3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to