Refactor osnailyfacter/modular/apache
Refactor osnailyfacter/modular/apache to be compatible with Puppet Master Blueprint: fuel-refactor-osnailyfacter-for-puppet-master-compatibility Change-Id: I8d227f6c81f65c2105b2abf765c3432c5bad8d45
This commit is contained in:
parent
7ffaea78d5
commit
5837cdc235
|
@ -0,0 +1,17 @@
|
|||
class osnailyfacter::apache::apache {
|
||||
|
||||
notice('MODULAR: apache/apache.pp')
|
||||
|
||||
# adjustments to defaults for LP#1485644 for scale
|
||||
sysctl::value { 'net.core.somaxconn': value => '4096' }
|
||||
sysctl::value { 'net.ipv4.tcp_max_syn_backlog': value => '8192' }
|
||||
|
||||
# Listen directives with host required for ip_based vhosts
|
||||
class { '::osnailyfacter::apache':
|
||||
purge_configs => false,
|
||||
listen_ports => hiera_array('apache_ports', ['0.0.0.0:80']),
|
||||
}
|
||||
|
||||
include ::osnailyfacter::apache_mpm
|
||||
|
||||
}
|
|
@ -1,14 +1 @@
|
|||
notice('MODULAR: apache.pp')
|
||||
|
||||
# adjustments to defaults for LP#1485644 for scale
|
||||
sysctl::value { 'net.core.somaxconn': value => '4096' }
|
||||
sysctl::value { 'net.ipv4.tcp_max_syn_backlog': value => '8192' }
|
||||
|
||||
# Listen directives with host required for ip_based vhosts
|
||||
class { 'osnailyfacter::apache':
|
||||
purge_configs => false,
|
||||
listen_ports => hiera_array('apache_ports', ['0.0.0.0:80']),
|
||||
}
|
||||
|
||||
include ::osnailyfacter::apache_mpm
|
||||
|
||||
include ::osnailyfacter::apache::apache
|
||||
|
|
Loading…
Reference in New Issue