Wifi CP fixes: Apache listen and servername
Use the IP address for a Servername and make sure we listen on port 81
This commit is contained in:
parent
ce8089c65b
commit
bf7dff75d9
3 changed files with 31 additions and 0 deletions
|
@ -41,6 +41,20 @@ class rhizo_base::wifi {
|
|||
notify => Service['apache2']
|
||||
}
|
||||
|
||||
file { '/etc/apache2/ports.conf':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/rhizo_base/ports.conf',
|
||||
require => Package['apache2'],
|
||||
notify => Service['apache2']
|
||||
}
|
||||
|
||||
file { '/etc/apache2/mods-enabled/rewrite.load':
|
||||
ensure => link,
|
||||
target => '../mods-available/rewrite.load',
|
||||
require => Package['apache2'],
|
||||
notify => Service['apache2']
|
||||
}
|
||||
|
||||
firewall { '000 accept DHCP (udp port 67)':
|
||||
proto => 'udp',
|
||||
iniface => $wifi_if,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue