Tristan Charbonneau
ff9a5b38f8
feat(vhosts): Better cleanup solution
Sometimes, the cleanup process happend AFTER vhosts are installed, which
resulted in no vhost declared.
Parsing declared vhosts in pillar and comparing to present files on the
server allows to remove only unwanted files.
Plus, files are kept in sites-available, and removed only in
sites-enabled.
4 years ago
Imran Iqbal
aabccade9f
chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
4 years ago
Imran Iqbal
a45ffb66ae
ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
4 years ago
Imran Iqbal
0db85009e7
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
4 years ago
Imran Iqbal
7b61f2239f
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
4 years ago
Imran Iqbal
9ea34791a3
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
4 years ago
Imran Iqbal
a288342070
ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
4 years ago
Imran Iqbal
9e417ec4a7
chore(codeowners): add global codeowner [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/178
4 years ago
Imran Iqbal
96fa39bc47
chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
4 years ago
Imran Iqbal
0ae44ad65c
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
4 years ago
Imran Iqbal
437b28af25
ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
4 years ago
Imran Iqbal
86f0a5705a
ci(kitchen+travis): remove `master-py2-arch-base-latest` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
4 years ago
Imran Iqbal
bcd67a6d46
ci(gemfile.lock): add to repo with updated `Gemfile` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
4 years ago
Imran Iqbal
21842d3d70
chore(rubocop): use org-wide standard settings for `Metrics/BlockLength` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/158
4 years ago
semantic-release-bot
8052d2872c
chore(release): 2.4.0 [skip ci]
# [2.4.0](https://github.com/saltstack-formulas/nginx-formula/compare/v2.3.3...v2.4.0 ) (2020-03-31)
### Bug Fixes
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([10b446e
](10b446ed1e
))
### Continuous Integration
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([efebb0a
](efebb0af6b
))
### Features
* **add purge option:** purge sites option ([a373bda
](a373bdab79
))
4 years ago
Imran Iqbal
07a4bc3e73
Merge pull request #263 from Irsute/master
feat(add a purge dir option): add the option to purge sites-enable / …
4 years ago
fthenard
a373bdab79
feat(add purge option): purge sites option
4 years ago
Imran Iqbal
4636f102ae
chore(gitignore): update from the `template-formula` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/132
5 years ago
Imran Iqbal
10b446ed1e
fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
5 years ago
Imran Iqbal
cfe834de72
chore(rubocop): move `LineLength` cop from `Metrics` to `Layout` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/129
5 years ago
Imran Iqbal
efebb0af6b
ci(kitchen): avoid using bootstrap for `master` instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
5 years ago
semantic-release-bot
5938e9d5c5
chore(release): 2.3.3 [skip ci]
## [2.3.3](https://github.com/saltstack-formulas/nginx-formula/compare/v2.3.2...v2.3.3 ) (2019-12-22)
### Bug Fixes
* **map.jinja:** use upstream default for `worker_connections` ([49caf8c
](49caf8cd69
)), closes [#261 ](https://github.com/saltstack-formulas/nginx-formula/issues/261 )
### Continuous Integration
* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([09be54d
](09be54d05f
))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([091c614
](091c61448d
))
* **travis:** run `shellcheck` during lint job [skip ci] ([ccf64d9
](ccf64d9be2
))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([facbaa1
](facbaa1e39
))
5 years ago
Niels Abspoel
63699c6bff
Merge pull request #262 from myii/fix/use-upstream-default-worker_connections
fix(map.jinja): use upstream default for `worker_connections`
5 years ago
Imran Iqbal
49caf8cd69
fix(map.jinja): use upstream default for `worker_connections`
* Close #261
* https://nginx.org/en/docs/ngx_core_module.html#worker_connections
5 years ago
Imran Iqbal
facbaa1e39
ci(travis): use `major.minor` for `semantic-release` version [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/112
5 years ago
Imran Iqbal
09be54d05f
ci(gemfile): restrict `train` gem version until upstream fix [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/110
5 years ago
Imran Iqbal
091c61448d
ci(travis): quote pathspecs used with `git ls-files` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/107
5 years ago
Imran Iqbal
ccf64d9be2
ci(travis): run `shellcheck` during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
5 years ago
semantic-release-bot
c2fc324238
chore(release): 2.3.2 [skip ci]
## [2.3.2](https://github.com/saltstack-formulas/nginx-formula/compare/v2.3.1...v2.3.2 ) (2019-11-25)
### Bug Fixes
* **certificates.sls:** prepare `certificates_path` dir separately ([297e3ac
](297e3ac400
)), closes [#241 ](https://github.com/saltstack-formulas/nginx-formula/issues/241 )
* **release.config.js:** use full commit hash in commit link [skip ci] ([b13ec85
](b13ec85433
))
### Continuous Integration
* **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([0665878
](066587829c
))
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([e8ed39a
](e8ed39a62c
))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([faefcab
](faefcabd65
))
* **travis:** apply changes from build config validation [skip ci] ([4125887
](41258874a5
))
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([dbeb2da
](dbeb2da3e4
))
* **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([a8382b5
](a8382b51a0
))
* **travis:** use build config validation (beta) [skip ci] ([bbf91c9
](bbf91c9f14
))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([567c08c
](567c08c9ad
))
### Documentation
* **contributing:** remove to use org-level file instead [skip ci] ([2e58d63
](2e58d636aa
))
* **readme:** update link to `CONTRIBUTING` [skip ci] ([3ff6692
](3ff6692590
))
### Performance Improvements
* **travis:** improve `salt-lint` invocation [skip ci] ([e586fbe
](e586fbeebc
))
### Tests
* **pillar/nginx.sls:** add reprodicible snippet based on issue [#241 ](https://github.com/saltstack-formulas/nginx-formula/issues/241 ) ([4ba3524
](4ba35247ed
))
5 years ago
Éric Veiras Galisson
ebd3b5377e
Merge pull request #260 from myii/bug/241-dhparam
fix(certificates.sls): prepare `certificates_path` dir separately
5 years ago
Imran Iqbal
297e3ac400
fix(certificates.sls): prepare `certificates_path` dir separately
* Close #241
5 years ago
Imran Iqbal
4ba35247ed
test(pillar/nginx.sls): add reprodicible snippet based on issue #241
5 years ago
Imran Iqbal
dbeb2da3e4
ci(travis): opt-in to `dpl v2` to complete build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/100
5 years ago
Imran Iqbal
41258874a5
ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
5 years ago
Imran Iqbal
bbf91c9f14
ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
5 years ago
Imran Iqbal
e8ed39a62c
ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/93
5 years ago
Imran Iqbal
e586fbeebc
perf(travis): improve `salt-lint` invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
5 years ago
Imran Iqbal
b13ec85433
fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/89
5 years ago
Imran Iqbal
faefcabd65
ci(kitchen+travis): upgrade matrix after `2019.2.2` release [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/86
5 years ago
Imran Iqbal
066587829c
ci(kitchen): use `debian-10-master-py3` instead of `develop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/84
5 years ago
Imran Iqbal
a8382b51a0
ci(travis): update `salt-lint` config for `v0.0.10` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/82
5 years ago
Imran Iqbal
2e58d636aa
docs(contributing): remove to use org-level file instead [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/70
5 years ago
Imran Iqbal
3ff6692590
docs(readme): update link to `CONTRIBUTING` [skip ci]
5 years ago
Imran Iqbal
3cafe90fe1
chore(issues): remove issues templates to use org-level templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/61
5 years ago
semantic-release-bot
7be9dbcd91
chore(release): 2.3.1 [skip ci]
## [2.3.1](https://github.com/saltstack-formulas/nginx-formula/compare/v2.3.0...v2.3.1 ) (2019-10-10)
### Bug Fixes
* **certificates.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/nginx-formula/commit/bedc1b6 ))
* **map.jinja:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/nginx-formula/commit/0772d8a ))
* **pkg.sls:** fix `salt-lint` errors ([](https://github.com/saltstack-formulas/nginx-formula/commit/06d055e ))
### Continuous Integration
* **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/nginx-formula/commit/671a4ce ))
* **kitchen:** install required packages to bootstrapped `opensuse` [skip ci] ([](https://github.com/saltstack-formulas/nginx-formula/commit/17291a0 ))
* **kitchen:** use bootstrapped `opensuse` images until `2019.2.2` [skip ci] ([](https://github.com/saltstack-formulas/nginx-formula/commit/a39e124 ))
* **platform:** add `arch-base-latest` ([](https://github.com/saltstack-formulas/nginx-formula/commit/c921086 ))
* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/nginx-formula/commit/3d48b1b ))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/nginx-formula/commit/08ce3ed ))
* use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround ([](https://github.com/saltstack-formulas/nginx-formula/commit/8ddb921 ))
### Documentation
* **pillar.example:** fix TOFS comment to explain the default path [skip ci] ([](https://github.com/saltstack-formulas/nginx-formula/commit/714f547 )), closes [/github.com/saltstack-formulas/libvirt-formula/pull/60#issuecomment-537965254](https://github.com//github.com/saltstack-formulas/libvirt-formula/pull/60/issues/issuecomment-537965254 ) [/github.com/saltstack-formulas/libvirt-formula/pull/60#issuecomment-537988138](https://github.com//github.com/saltstack-formulas/libvirt-formula/pull/60/issues/issuecomment-537988138 )
5 years ago
Imran Iqbal
51aca62023
Merge pull request #257 from myii/ci/merge-matrix-and-add-salt-lint-and-rubocop
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
5 years ago
Imran Iqbal
08ce3edf9f
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Semi-automated using https://github.com/myii/ssf-formula/pull/60
5 years ago
Imran Iqbal
06d055e220
fix(pkg.sls): fix `salt-lint` errors
```bash
Examining nginx/pkg.sls of type state
[201] Trailing whitespace
nginx/pkg.sls:149
- gpgcheck: 0
```
5 years ago
Imran Iqbal
0772d8a8d0
fix(map.jinja): fix `salt-lint` errors
```bash
Examining nginx/map.jinja of type state
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/map.jinja:175
})%}
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/map.jinja:181
})%}
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/map.jinja:188
})%}
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/map.jinja:192
})%}
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/map.jinja:195
})%}
```
5 years ago
Imran Iqbal
bedc1b6c90
fix(certificates.sls): fix `salt-lint` errors
```bash
Examining nginx/certificates.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
nginx/certificates.sls:40
- contents_pillar: {{salt['pillar.get']('nginx:certificates:{}:public_cert_pillar'.format(domain))}}
[202] Jinja statement should have spaces before and after: {% statement %}
nginx/certificates.sls:47
{% if salt['pillar.get']("nginx:certificates:{}:private_key".format(domain)) or salt['pillar.get']("nginx:certificates:{}:private_key_pillar".format(domain))%}
[206] Jinja variables should have spaces before and after: {{ var_name }}
nginx/certificates.sls:54
- contents_pillar: {{salt['pillar.get']('nginx:certificates:{}:private_key_pillar'.format(domain))}}
```
5 years ago