Mercurial > repos > other > Puppet
comparison modules/website/manifests/php.pp @ 106:ef0926ee389a puppet-3.6
Lock down Apache headers for security, based on https://securityheaders.io/
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 May 2016 17:10:10 +0100 |
parents | 89a94c61e4d6 |
children | b00eb9434938 |
comparison
equal
deleted
inserted
replaced
105:e50dab7495d7 | 106:ef0926ee389a |
---|---|
24 package { $packages: | 24 package { $packages: |
25 ensure => latest, | 25 ensure => latest, |
26 } | 26 } |
27 file { '/etc/php.d/custom-lockdown.ini': | 27 file { '/etc/php.d/custom-lockdown.ini': |
28 ensure => present, | 28 ensure => present, |
29 content => 'allow_url_fopen = \'off\'', | 29 content => 'allow_url_fopen = \'off\' |
30 expose_php = Off', | |
30 } | 31 } |
31 file { '/etc/php.d/custom-php.ini': | 32 file { '/etc/php.d/custom-php.ini': |
32 ensure => present, | 33 ensure => present, |
33 content => 'default_charset = \'UTF-8\'', | 34 content => 'default_charset = \'UTF-8\'', |
34 } | 35 } |