Commit Graph

617 Commits

Author SHA1 Message Date
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.
2020-10-14 03:43:06 +02:00
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.
2020-10-14 02:57:00 +02:00
Benjamin Neff
47ec5fcc34
test(pillar): remove modules that aren't installed from being enabled 2020-10-14 02:03:32 +02:00
Benjamin Neff
5844322de4
fix(debian): don't execute a2enmod on every run 2020-10-14 00:49:20 +02:00
Benjamin Neff
c17601ee42
fix(debian): fix default moddir on debian 2020-10-13 23:56:20 +02:00
semantic-release-bot
22b09abb4b chore(release): 1.0.3 [skip ci]
## [1.0.3](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.2...v1.0.3) (2020-10-13)

### Bug Fixes

* **config:** fix old apache.service usage ([32f05e5](32f05e5a66))
2020-10-13 07:52:01 +00:00
N
b200780d4c
Merge pull request #289 from SuperTux88/fix-service-name
fix(config): fix old apache.service usage
2020-10-13 08:41:40 +01:00
Benjamin Neff
32f05e5a66
fix(config): fix old apache.service usage 2020-10-13 02:42:52 +02:00
semantic-release-bot
c5fffd2c78 chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.1...v1.0.2) (2020-10-12)

### Bug Fixes

* **package:** remove own_default_vhost and debian_full from config.init ([7691b58](7691b589d7))
* **package:** remove own_default_vhost and debian_full from config.init ([441459e](441459e56f))
2020-10-12 08:07:54 +00:00
N
45308ffbf8
Merge pull request #288 from gaetanars/master
Remove own_default_vhost and debian_full from config.init.
2020-10-12 08:57:26 +01:00
Gaëtan Ars
7691b589d7 fix(package): remove own_default_vhost and debian_full from config.init 2020-10-12 08:58:59 +02:00
Gaëtan Ars
441459e56f fix(package): remove own_default_vhost and debian_full from config.init 2020-10-12 08:57:48 +02:00
Gaëtan
f465b85d67 Remove own_default_vhost and debian_full from config.init. 2020-10-12 08:31:29 +02:00
semantic-release-bot
8c93110a60 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/saltstack-formulas/apache-formula/compare/v1.0.0...v1.0.1) (2020-10-10)

### Continuous Integration

* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([1c2125c](1c2125c251))

### Documentation

* **example:** document redirect 80->443 fix [#226](https://github.com/saltstack-formulas/apache-formula/issues/226) ([e15803b](e15803b4b1))
* **readme:** fix `rstcheck` violation [skip ci] ([2747e35](2747e35ce1)), closes [/travis-ci.org/github/myii/apache-formula/builds/731605038#L255](https://github.com//travis-ci.org/github/myii/apache-formula/builds/731605038/issues/L255)
2020-10-10 16:06:06 +00:00
N
3830ba436f
Merge pull request #284 from noelmcloughlin/docs
docs(example): document redirect 80->443 fix #226
2020-10-10 16:54:46 +01:00
noelmcloughlin
e0043dd7ba docs(readme): add mod watchdog to pillar example 2020-10-10 16:32:09 +01:00
Imran Iqbal
1c2125c251
ci(pre-commit): finalise rstcheck configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
2020-10-10 06:42:53 +01:00
Imran Iqbal
2747e35ce1
docs(readme): fix rstcheck violation [skip ci]
https://travis-ci.org/github/myii/apache-formula/builds/731605038#L255

```
docs/README.rst:151: (ERROR/3) Unknown target name: "apache mod_security2 waf`<http://modsecurity.org/>".
```
2020-10-10 00:41:02 +01:00
Dafydd Jones
602dd57896
chore(commitlint): add {body,footer,header}-max(-line)-length [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
2020-10-07 09:01:00 +01:00
Imran Iqbal
cecf1d9810
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
2020-10-06 23:58:32 +01:00
Imran Iqbal
7dc0ece4f5
chore: standardise structure [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/264
2020-10-06 23:26:09 +01:00
noelmcloughlin
e15803b4b1 docs(example): document redirect 80->443 fix #226 2020-10-05 19:30:26 +01:00
semantic-release-bot
5ef7662176 chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/apache-formula/compare/v0.41.1...v1.0.0) (2020-10-05)

### Code Refactoring

* **formula:** align to template-formula & improve ci features ([47818fc](47818fc360))

### Continuous Integration

* **pre-commit:** add to formula [skip ci] ([5532ed7](5532ed7a5b))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([233111a](233111af11))

### BREAKING CHANGES

* **formula:** 'apache.sls' converted to new style 'init.ssl'
* **formula:** "logrotate.sls" became "config/logrotate.sls"
* **formula:** "debian_full.sls" became "config/debian_full.sls"
* **formula:** "flags.sls" became "config/flags.sls"
* **formula:** "manage_security" became "config/manage_security.sls"
* **formula:** "mod_*.sls" became "config/mod_*.sls"
* **formula:** "no_default_host.sls" became "config/no_default_host.sls"
* **formula:** "own_default_host.sls" became "config/own_default_host.sls"
* **formula:** "register_site.sls" became "config/register_site.sls"
* **formula:** "server_status.sls" became "config/server_status.sls"
* **formula:** "vhosts/" became "config/vhosts/"
* **formula:** "mod_security/" became "config/mod_security/"

NOT-BREAKING CHANGE: 'config.sls' became 'config/init.sls'
NOT-BREAKING CHANGE: 'uninstall.sls' symlinked to 'clean.sls'
2020-10-05 14:15:41 +00:00
N
90432892d3
Merge pull request #283 from noelmcloughlin/refactor
refactor(formula): align to template-formula & improve ci
2020-10-05 15:04:15 +01:00
noelmcloughlin
47818fc360 refactor(formula): align to template-formula & improve ci features
FEATURE: Archlinux support
FEATURE: Windows support
FEATURE: Enhanced CI/CD
FEATURE: modular states

BREAKING CHANGE: 'apache.sls' converted to new style 'init.ssl'
BREAKING CHANGE: "logrotate.sls" became "config/logrotate.sls"
BREAKING CHANGE: "debian_full.sls" became "config/debian_full.sls"
BREAKING CHANGE: "flags.sls" became "config/flags.sls"
BREAKING CHANGE: "manage_security" became "config/manage_security.sls"
BREAKING CHANGE: "mod_*.sls" became "config/mod_*.sls"
BREAKING CHANGE: "no_default_host.sls" became "config/no_default_host.sls"
BREAKING CHANGE: "own_default_host.sls" became "config/own_default_host.sls"
BREAKING CHANGE: "register_site.sls" became "config/register_site.sls"
BREAKING CHANGE: "server_status.sls" became "config/server_status.sls"
BREAKING CHANGE: "vhosts/" became "config/vhosts/"
BREAKING CHANGE: "mod_security/" became "config/mod_security/"

NOT-BREAKING CHANGE: 'config.sls' became 'config/init.sls'
NOT-BREAKING CHANGE: 'uninstall.sls' symlinked to 'clean.sls'
2020-10-05 14:24:15 +01:00
Imran Iqbal
233111af11
ci(pre-commit): enable/disable rstcheck as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
2020-10-05 00:13:55 +01:00
Dafydd Jones
5532ed7a5b
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:17:10 +01:00
semantic-release-bot
fa93df9f4b chore(release): 0.41.1 [skip ci]
## [0.41.1](https://github.com/saltstack-formulas/apache-formula/compare/v0.41.0...v0.41.1) (2020-07-20)

### Bug Fixes

* **server-status:** enable module in Debian family ([632802a](632802a5a9))
* **server-status:** manage module in debian ([eafa419](eafa4196d9))

### Tests

* **default+modules:** add modules' tests suite ([b253625](b25362535a))
2020-07-20 09:06:07 +00:00
Imran Iqbal
cb47ee30bf
Merge pull request #280 from netmanagers/master
fix(server-status): enable module in debian if `server_status_require…
2020-07-20 09:59:04 +01:00
Javier Bértoli
632802a5a9 fix(server-status): enable module in Debian family 2020-07-19 09:26:39 -03:00
Javier Bértoli
b25362535a test(default+modules): add modules' tests suite 2020-07-18 13:23:58 -03:00
Javier Bértoli
eafa4196d9 fix(server-status): manage module in debian 2020-07-18 07:28:58 -03:00
semantic-release-bot
3adbbcbe0c chore(release): 0.41.0 [skip ci]
# [0.41.0](https://github.com/saltstack-formulas/apache-formula/compare/v0.40.0...v0.41.0) (2020-07-16)

### Features

* **vhosts/standard:** add support for ScriptAlias in standard vhost ([b88b437](b88b437308))
2020-07-16 19:09:25 +00:00
Imran Iqbal
5a186de875
Merge pull request #282 from bawuenet/script_alias
feat: Add support for ScriptAlias in standard vhost
2020-07-16 20:01:05 +01:00
semantic-release-bot
0b61124520 chore(release): 0.40.0 [skip ci]
# [0.40.0](https://github.com/saltstack-formulas/apache-formula/compare/v0.39.5...v0.40.0) (2020-07-16)

### Features

* **redhat/apache-2.x.config.jinja:** allow override of default_charset ([648f589](648f589cc3))
2020-07-16 18:52:51 +00:00
Andreas Thienemann
b88b437308 feat(vhosts/standard): add support for ScriptAlias in standard vhost
The standard vhost currently handles a regular Alias configuration
statement, but not the related ScriptAlias.
Add this.
2020-07-16 20:52:22 +02:00
Andreas Thienemann
648f589cc3
feat(redhat/apache-2.x.config.jinja): allow override of default_charset
The current Red Hat config allows to set DefaultCharset to a value.
In certain situations it is necessary to leave it unconfigured thouguh.

Make the content optional, if the value of apache.default_charset is None,
the item is skipped. Otherwise it defaults to UTF-8.
2020-07-16 19:43:54 +01:00
Imran Iqbal
78bd21ad62 chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
2020-07-06 14:22:14 +01:00
Imran Iqbal
a61e818af2 chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
2020-06-26 12:39:07 +01:00
semantic-release-bot
6cd65b4523 chore(release): 0.39.5 [skip ci]
## [0.39.5](https://github.com/saltstack-formulas/apache-formula/compare/v0.39.4...v0.39.5) (2020-06-21)

### Bug Fixes

* **vhosts/cleanup:** check `sites-enabled` dir exists before listing it ([88373e3](88373e38f5)), closes [#278](https://github.com/saltstack-formulas/apache-formula/issues/278)

### Continuous Integration

* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([61b903e](61b903e780))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([6895fb9](6895fb9764))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([16bb1b0](16bb1b06e3))
* **travis:** add notifications => zulip [skip ci] ([2417a75](2417a75fe2))
* **workflows/commitlint:** add to repo [skip ci] ([2ce966d](2ce966d031))
2020-06-21 22:45:16 +00:00
Yoda-BZH
88373e38f5
fix(vhosts/cleanup): check sites-enabled dir exists before listing it
Co-authored-by: Tristan Charbonneau <tcharbonneau@oceanet-technology.com>

Fix #278
2020-06-21 23:37:12 +01:00
Imran Iqbal
7dacabcd67 chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
2020-06-21 12:51:09 +01:00
Imran Iqbal
6895fb9764 ci(kitchen): use saltimages Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
2020-06-15 16:47:27 +01:00
Imran Iqbal
9736121f3b chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
2020-06-15 14:58:02 +01:00
Imran Iqbal
aeacb11a2e chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
2020-06-05 22:08:40 +01:00
Imran Iqbal
587e2cc315 chore(gemfile.lock): update to latest gem versions
* Automated using https://github.com/myii/ssf-formula/pull/202
2020-05-28 00:13:30 +01:00
Imran Iqbal
2417a75fe2 ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
2020-05-21 19:59:27 +01:00
Imran Iqbal
6e630d145a chore(codeowners): update semantic-release related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
2020-05-04 23:11:25 +01:00
Imran Iqbal
38952f09a3 chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
2020-05-04 22:39:08 +01:00
Imran Iqbal
2ce966d031 ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
2020-05-04 09:25:20 +01:00