Imran Iqbal
dedb9e2f40
fix(config/vhosts/standard): remove erroneous trailing colon
Fixes #302 .
pirms 3 gadiem
Imran Iqbal
3c21740ba5
ci(kitchen+gitlab): adjust matrix to add `3003` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/318
pirms 3 gadiem
Imran Iqbal
298fdf4fb5
ci(vagrant): add FreeBSD 13.0 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/316
pirms 3 gadiem
Imran Iqbal
f354ace8e7
ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/311
pirms 3 gadiem
Imran Iqbal
c8ac6a89b9
chore: update `CODEOWNERS` & `.yamllint` re: `kitchen-vagrant` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/310
pirms 3 gadiem
semantic-release-bot
18850c5f44
chore(release): 1.1.2 [skip ci]
## [1.1.2](https://github.com/saltstack-formulas/apache-formula/compare/v1.1.1...v1.1.2 ) (2021-04-03)
### Bug Fixes
* **freebsd:** fix `default` suite implementation and tests ([0a0f69e
](0a0f69ee2f
))
* **freebsd:** fix `modsecurity` suite implementation and tests ([bc9aa78
](bc9aa78437
))
### Continuous Integration
* enable Vagrant-based testing using GitHub Actions ([6e094e2
](6e094e2527
))
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([53ac463
](53ac4638f3
))
* **gitlab-ci:** reset after update hook for `rubocop` [skip ci] ([6d40ab7
](6d40ab7634
))
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([69e9d30
](69e9d304fb
))
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([21cb59d
](21cb59daa2
))
* **pre-commit:** update hook for `rubocop` ([2c090c3
](2c090c3a83
))
### Documentation
* **readme:** add `Testing with Vagrant` section ([5a6b203
](5a6b203bb1
))
### Tests
* standardise use of `share` suite & `_mapdata` state [skip ci] ([e7c2d20
](e7c2d20f06
))
* **nomodsecurity:** use adjusted `modules` suite instead ([838b917
](838b917221
))
pirms 3 gadiem
Imran Iqbal
0df537a2da
Merge pull request #301 from myii/ci/add-freebsd-vagrant-in-github-actions
ci: enable Vagrant-based testing using GitHub Actions
pirms 3 gadiem
Imran Iqbal
5a6b203bb1
docs(readme): add `Testing with Vagrant` section
pirms 3 gadiem
Imran Iqbal
6e094e2527
ci: enable Vagrant-based testing using GitHub Actions
* Semi-automated using https://github.com/myii/ssf-formula/pull/309
pirms 3 gadiem
Imran Iqbal
bc9aa78437
fix(freebsd): fix `modsecurity` suite implementation and tests
pirms 3 gadiem
Imran Iqbal
0a0f69ee2f
fix(freebsd): fix `default` suite implementation and tests
pirms 3 gadiem
Imran Iqbal
e7c2d20f06
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
pirms 3 gadiem
Imran Iqbal
69e9d304fb
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/299
pirms 3 gadiem
Imran Iqbal
955ed1fba3
chore(yamllint): add `.git/` to ignores [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/297
pirms 3 gadiem
Daniel Dehennin
edb2558faa
chore(rubocop): allow use of `YAML.load` for `_mapdata.rb` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
pirms 3 gadiem
Dafydd Jones
ee180fbec7
chore(shellcheck): switch hook for `shellcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/295
pirms 3 gadiem
Imran Iqbal
53ac4638f3
ci(gemfile+lock): use `ssf` customised `kitchen-docker` repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/294
pirms 4 gadiem
Imran Iqbal
21cb59daa2
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
pirms 4 gadiem
Imran Iqbal
838b917221
test(nomodsecurity): use adjusted `modules` suite instead
pirms 4 gadiem
Imran Iqbal
f35054dd82
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
pirms 4 gadiem
Imran Iqbal
6d40ab7634
ci(gitlab-ci): reset after update hook for `rubocop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/290
pirms 4 gadiem
Imran Iqbal
2c090c3a83
ci(pre-commit): update hook for `rubocop`
* Automated using https://github.com/myii/ssf-formula/pull/290
pirms 4 gadiem
Marius van Witzenburg
22c647eb5c
feature(trust): improved remote ip internal proxy support ( #300 )
* feat(trusted_proxy): Add support for RemoteIPInternalProxy
* fix(syntax): add semicolon
pirms 4 gadiem
semantic-release-bot
6c529330e6
chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/saltstack-formulas/apache-formula/compare/v1.1.0...v1.1.1 ) (2021-01-04)
### Bug Fixes
* **memory:** pass variable not dict ([2830081
](28300814fc
))
### Continuous Integration
* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([0145922
](0145922b52
))
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([bbf012b
](bbf012b82e
))
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([26208c4
](26208c47c6
))
pirms 4 gadiem
sticky-note
c792cc24d5
Merge pull request #299 from noelmcloughlin/fixit
fix(memory): pass variable not dict
pirms 4 gadiem
Imran Iqbal
0145922b52
ci(commitlint): ensure `upstream/master` uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
pirms 4 gadiem
Imran Iqbal
bbf012b82e
ci(gitlab-ci): add `rubocop` linter (with `allow_failure`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
pirms 4 gadiem
Imran Iqbal
26208c47c6
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
pirms 4 gadiem
noelmcloughlin
28300814fc
fix(memory): pass variable not dict
pirms 4 gadiem
N
0e93df3e1e
Merge pull request #298 from bawuenet/master
Do not pass full apache context to vhost templates.
pirms 4 gadiem
Andreas Thienemann
1f488b6af3
Do not pass full apache context to vhost templates.
The full apache context variable can grow quite large if using multiple
vhosts with SSL certificates.
With 200 sites the apache variable is being rendered 200 times which resuls
in observed renderer output of about 950MB...
state.apply will result with MemoryErrors in such cases.
This PR modifies the templating code to _only_ use a per site context
and pass a trimmed down copy of the apache context instead of the full.
Drive-By: Correct indentation for context variables.
Drive-By: Remove duplicate map/apache functionality. Only use map.
pirms 4 gadiem
Imran Iqbal
e2e1be18e0
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
pirms 4 gadiem
Imran Iqbal
a9509bd56b
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
pirms 4 gadiem
semantic-release-bot
b3a7e0b0e6
chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.5...v1.1.0 ) (2020-10-14)
### Bug Fixes
* **ssl.conf:** fix pillar keys for SSLStapling in ssl.conf on debian ([65043f8
](65043f8a61
))
### Code Refactoring
* **ssl.conf:** reduce newlines in ssl.conf on debian ([b99b7b7
](b99b7b71ad
))
* **vhosts:** reduce empty lines in standard.tmpl and proxy.tmpl ([4b79c1d
](4b79c1dddb
))
### Features
* **ssl.conf:** add SSLSessionTickets to ssl.conf on debian ([41a7a83
](41a7a83af0
))
pirms 4 gadiem
N
eef745c232
Merge pull request #292 from SuperTux88/fix-ssl-conf
Refactor ssl.conf for debian
pirms 4 gadiem
N
c2c3b7c848
Merge pull request #293 from SuperTux88/refactor-vhosts-template
refactor(vhosts): reduce empty lines in standard.tmpl and proxy.tmpl
pirms 4 gadiem
Benjamin Neff
4b79c1dddb
refactor(vhosts): reduce empty lines in standard.tmpl and proxy.tmpl
pirms 4 gadiem
Benjamin Neff
41a7a83af0
feat(ssl.conf): add SSLSessionTickets to ssl.conf on debian
pirms 4 gadiem
Benjamin Neff
65043f8a61
fix(ssl.conf): fix pillar keys for SSLStapling in ssl.conf on debian
pirms 4 gadiem
Benjamin Neff
b99b7b71ad
refactor(ssl.conf): reduce newlines in ssl.conf on debian
pirms 4 gadiem
semantic-release-bot
50fe24d9f0
chore(release): 1.0.5 [skip ci]
## [1.0.5](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.4...v1.0.5 ) (2020-10-14)
### Bug Fixes
* **clean:** remove entire apache config directory ([cac5f35
](cac5f357a4
))
### Code Refactoring
* **package:** remove unnecessary state ([fb81d8e
](fb81d8e694
))
### Documentation
* **readme:** add mod watchdog to pillar example ([e0043dd
](e0043dd7ba
))
pirms 4 gadiem
N
ef06f5c518
Merge pull request #286 from noelmcloughlin/clean
fix(clean): remove entire apache config directory
pirms 4 gadiem
N
2e10c8a11b
Merge pull request #287 from noelmcloughlin/nochange
fix(package): avoid unnecessary state change
pirms 4 gadiem
noelmcloughlin
cac5f357a4
fix(clean): remove entire apache config directory
pirms 4 gadiem
noelmcloughlin
fb81d8e694
refactor(package): remove unnecessary state
pirms 4 gadiem
semantic-release-bot
91f1460ded
chore(release): 1.0.4 [skip ci]
## [1.0.4](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.3...v1.0.4 ) (2020-10-14)
### Bug Fixes
* **debian:** don't execute a2enmod on every run ([5844322
](5844322de4
))
* **debian:** fix default moddir on debian ([c17601e
](c17601ee42
))
* **logs:** don't change owners of logfiles with salt ([382e053
](382e053c58
))
* **vhosts:** replace %O with %b in default LogFormat ([2b52e11
](2b52e11a8a
))
### Tests
* **pillar:** remove modules that aren't installed from being enabled ([47ec5fc
](47ec5fcc34
))
pirms 4 gadiem
N
9a385b4fcd
Merge pull request #290 from SuperTux88/fix-modules-enable
Fix modules enable
pirms 4 gadiem
N
335f7282a9
Merge pull request #291 from SuperTux88/dont-change-logs
fix(logs): don't change owners of logfiles with salt
pirms 4 gadiem
Benjamin Neff
382e053c58
fix(logs): don't change owners of logfiles with salt
The logs are created by apache or logrotate, but salt shouldn't change
permissions of existing logfiles everytime it runs.
pirms 4 gadiem
Benjamin Neff
2b52e11a8a
fix(vhosts): replace %O with %b in default LogFormat
%O needs mod_logio, which isn't enabled by default everywhere, so it
also shouldn't be used as default fallback LogFormat.
pirms 4 gadiem