Commit Graph

551 Commits

Author SHA1 Message Date
Imran Iqbal
6b7d1fe453
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:

```bash
nginx-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
pillar.example
  5:1       warning  missing document start "---"  (document-start)
  6:89      error    line too long (110 > 88 characters)  (line-length)
  7:89      error    line too long (99 > 88 characters)  (line-length)
  19:89     error    line too long (132 > 88 characters)  (line-length)
  35:25     warning  truthy value should be one of [false, true]  (truthy)
  36:89     error    line too long (106 > 88 characters)  (line-length)
  40:89     error    line too long (115 > 88 characters)  (line-length)
  43:16     warning  truthy value should be one of [false, true]  (truthy)
  44:89     error    line too long (105 > 88 characters)  (line-length)
  48:16     warning  truthy value should be one of [false, true]  (truthy)
  54:14     warning  too few spaces before comment  (comments)
  57:13     warning  truthy value should be one of [false, true]  (truthy)
  57:18     warning  too few spaces before comment  (comments)
  58:14     warning  too few spaces before comment  (comments)
  60:5      warning  missing starting space in comment  (comments)
  60:89     error    line too long (96 > 88 characters)  (line-length)
  61:89     error    line too long (90 > 88 characters)  (line-length)
  62:89     error    line too long (90 > 88 characters)  (line-length)
  63:89     error    line too long (94 > 88 characters)  (line-length)
  64:5      warning  missing starting space in comment  (comments)
  64:89     error    line too long (96 > 88 characters)  (line-length)
  68:9      error    wrong indentation: expected 10 but found 8  (indentation)
  76:9      error    wrong indentation: expected 10 but found 8  (indentation)
  86:9      error    wrong indentation: expected 10 but found 8  (indentation)
  90:14     warning  too few spaces before comment  (comments)
  90:89     error    line too long (104 > 88 characters)  (line-length)
  92:6      warning  missing starting space in comment  (comments)
  92:89     error    line too long (106 > 88 characters)  (line-length)
  94:89     error    line too long (104 > 88 characters)  (line-length)
  97:6      warning  missing starting space in comment  (comments)
  97:89     error    line too long (106 > 88 characters)  (line-length)
  100:62    warning  too few spaces before comment  (comments)
  100:89    error    line too long (121 > 88 characters)  (line-length)
  101:62    warning  comment not indented like content  (comments-indentation)
  101:89    error    line too long (116 > 88 characters)  (line-length)
  102:89    error    line too long (112 > 88 characters)  (line-length)
  103:89    error    line too long (99 > 88 characters)  (line-length)
  105:89    error    line too long (124 > 88 characters)  (line-length)
  106:8     warning  missing starting space in comment  (comments)
  106:89    error    line too long (117 > 88 characters)  (line-length)
  112:89    error    line too long (97 > 88 characters)  (line-length)
  120:31    warning  missing starting space in comment  (comments)
  123:89    error    line too long (95 > 88 characters)  (line-length)
  127:13    error    wrong indentation: expected 14 but found 12  (indentation)
  151:33    warning  too few spaces before comment  (comments)
  151:89    error    line too long (94 > 88 characters)  (line-length)
  152:22    warning  too few spaces before comment  (comments)
  152:89    error    line too long (90 > 88 characters)  (line-length)
  153:21    warning  too few spaces before comment  (comments)
  153:89    error    line too long (101 > 88 characters)  (line-length)
  154:22    warning  too few spaces before comment  (comments)
  155:18    warning  too few spaces before comment  (comments)
  155:89    error    line too long (103 > 88 characters)  (line-length)
  163:89    error    line too long (100 > 88 characters)  (line-length)
  164:89    error    line too long (106 > 88 characters)  (line-length)
  165:18    warning  truthy value should be one of [false, true]  (truthy)
  167:89    error    line too long (109 > 88 characters)  (line-length)
  170:10    warning  missing starting space in comment  (comments)
  172:10    warning  missing starting space in comment  (comments)
  172:89    error    line too long (120 > 88 characters)  (line-length)
  173:10    warning  missing starting space in comment  (comments)
  173:89    error    line too long (118 > 88 characters)  (line-length)
  174:89    error    line too long (120 > 88 characters)  (line-length)
  175:20    warning  truthy value should be one of [false, true]  (truthy)
  175:89    error    line too long (102 > 88 characters)  (line-length)
  177:89    error    line too long (100 > 88 characters)  (line-length)
  178:89    error    line too long (101 > 88 characters)  (line-length)
  182:13    error    wrong indentation: expected 14 but found 12  (indentation)
  184:15    error    wrong indentation: expected 16 but found 14  (indentation)
  186:15    error    wrong indentation: expected 16 but found 14  (indentation)
  189:15    error    wrong indentation: expected 16 but found 14  (indentation)
  193:9     warning  comment not indented like content  (comments-indentation)
  196:13    error    wrong indentation: expected 14 but found 12  (indentation)
  198:15    error    wrong indentation: expected 16 but found 14  (indentation)
  202:15    error    wrong indentation: expected 16 but found 14  (indentation)
  206:9     warning  comment not indented like content  (comments-indentation)
  218:16    warning  too few spaces before comment  (comments)
  218:89    error    line too long (96 > 88 characters)  (line-length)
  219:18    warning  truthy value should be one of [false, true]  (truthy)
  223:57    warning  too few spaces before comment  (comments)
  223:89    error    line too long (111 > 88 characters)  (line-length)
  224:57    warning  comment not indented like content  (comments-indentation)
  224:89    error    line too long (118 > 88 characters)  (line-length)
  226:89    error    line too long (90 > 88 characters)  (line-length)
  236:18    warning  truthy value should be one of [false, true]  (truthy)
  245:89    error    line too long (108 > 88 characters)  (line-length)
  252:89    error    line too long (104 > 88 characters)  (line-length)
  305:89    error    line too long (115 > 88 characters)  (line-length)
  306:32    error    trailing spaces  (trailing-spaces)

test/salt/default/pillar/nginx.sls
  1:1       error    too many blank lines (1 > 0)  (empty-lines)
  7:1       warning  missing document start "---"  (document-start)
  11:9      error    wrong indentation: expected 10 but found 8  (indentation)
  23:18     warning  truthy value should be one of [false, true]  (truthy)
  24:18     warning  truthy value should be one of [false, true]  (truthy)
  28:18     warning  truthy value should be one of [false, true]  (truthy)
  31:13     error    wrong indentation: expected 14 but found 12  (indentation)
  33:15     error    wrong indentation: expected 16 but found 14  (indentation)
  36:15     error    wrong indentation: expected 16 but found 14  (indentation)
  38:1      error    too many blank lines (1 > 0)  (empty-lines)
```
2019-08-12 14:40:12 +01:00
semantic-release-bot
c00c058076 chore(release): 2.1.0 [skip ci]
# [2.1.0](https://github.com/saltstack-formulas/nginx-formula/compare/v2.0.0...v2.1.0) (2019-08-04)

### Continuous Integration

* **kitchen+travis:** modify matrix to include `develop` platform ([f6b357d](https://github.com/saltstack-formulas/nginx-formula/commit/f6b357d))

### Features

* **linux:** archlinux support (no osfinger grain) ([ab6148c](https://github.com/saltstack-formulas/nginx-formula/commit/ab6148c))
2019-08-04 19:41:04 +00:00
Niels Abspoel
82edc41695
Merge pull request #249 from noelmcloughlin/arch
feat(linux): archlinux support (no osfinger grain)
2019-08-04 21:23:29 +02:00
N
ab6148c064
feat(linux): archlinux support (no osfinger grain) 2019-08-03 14:53:49 +01:00
Imran Iqbal
6c89ef50cf
Merge pull request #248 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-25 10:08:26 +01:00
Imran Iqbal
022345da76 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
2019-07-25 09:37:25 +01:00
Niels Abspoel
e80e0806bb
Merge pull request #244 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-23 21:05:24 +02:00
Hannah Wolfe
e07b5582dc feat(passenger): inc config, snippets, servers, etc
- currently you're forced to define extra states if you opt to install nginx with passenger,
 if you want the same outcome for passenger and nginx installs with equivalent config
- passenger is an extra module on top of nginx, makes no sense to end up with less configuration by default
2019-07-23 14:14:34 +01:00
Imran Iqbal
73da429b77
chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-23 04:12:41 +01:00
N
def06188a9
Merge pull request #245 from ErisDS/patch-1
tofs: include path pattern with defaults in docs
2019-07-22 20:28:25 +01:00
Hannah Wolfe
c76ffa660e
tofs: include path pattern with defaults in docs 2019-07-22 19:40:53 +01:00
Imran Iqbal
c539594b19
Merge pull request #242 from myii/ci/use-develop-image-in-matrix
ci(kitchen+travis): modify matrix to include `develop` platform
2019-06-25 23:14:23 +01:00
Imran Iqbal
f6b357d424
ci(kitchen+travis): modify matrix to include develop platform
* Use balanced matrix based on `template-formula` guidelines
2019-06-25 22:52:40 +01:00
semantic-release-bot
ae69ee4d8d chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/saltstack-formulas/nginx-formula/compare/v1.1.0...v2.0.0) (2019-06-19)

### Bug Fixes

* **snippets:** removed appending of ".conf" ([aa87721](https://github.com/saltstack-formulas/nginx-formula/commit/aa87721))

### BREAKING CHANGES

* **snippets:** Users have to modify their pillar
according to this commit. Users MUST append '.conf' for their
existing managed snippets.
2019-06-19 07:49:02 +00:00
N
f9000dd4f9
Merge pull request #240 from sticky-note/fix/snippets-file-name
fix(snippet-file-name): removed appending of ".conf" for snippets files
2019-06-19 08:33:27 +01:00
nb
aa87721bc2 fix(snippets): removed appending of ".conf"
(...) for snippets filename.
BREAKING CHANGE: Users have to modify their pillar
according to this commit. Users MUST append '.conf' for their
existing managed snippets.
2019-06-20 00:11:31 +11:00
semantic-release-bot
a5faf70c93 chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.5...v1.1.0) (2019-06-03)

### Features

* **tofs:** first implemetation + tplroot ([d5262ea](https://github.com/saltstack-formulas/nginx-formula/commit/d5262ea))
2019-06-03 22:41:09 +00:00
Imran Iqbal
f036e31b7f
Merge pull request #238 from sticky-note/master
feat(tofs): First implementation
2019-06-03 23:23:40 +01:00
Sammy
d5262ea5df feat(tofs): first implemetation + tplroot
First implementation of TOFS for:
nginx_config, passenger_config, servers_config and snippets
Introduced tplroot on modified files as well
Fixed GH link of nginx.conf file in docs/TOFS_pattern.rst
Fixed test for snippets name pillar
2019-06-04 08:57:21 +11:00
semantic-release-bot
b9f78aa957 chore(release): 1.0.5 [skip ci]
## [1.0.5](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.4...v1.0.5) (2019-05-13)

### Documentation

* **readme:** improve readme sections ([3cc3407](https://github.com/saltstack-formulas/nginx-formula/commit/3cc3407))
2019-05-13 20:56:59 +00:00
Nicolas Rodriguez
3cc3407cb5 docs(readme): improve readme sections 2019-05-13 21:39:51 +01:00
semantic-release-bot
8f89d6eec5 chore(release): 1.0.4 [skip ci]
## [1.0.4](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.3...v1.0.4) (2019-05-13)

### Bug Fixes

* prevent running of states deprecated in `v1.0.0` ([46dff15](https://github.com/saltstack-formulas/nginx-formula/commit/46dff15))
2019-05-13 12:20:31 +00:00
Imran Iqbal
46dff1596a fix: prevent running of states deprecated in v1.0.0
* Route all to `nginx/deprecated.sls`
2019-05-13 13:06:04 +01:00
semantic-release-bot
966efd3013 chore(release): 1.0.3 [skip ci]
## [1.0.3](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.2...v1.0.3) (2019-05-13)

### Documentation

* **readme:** add warning banner about `v1.0.0` breaking changes ([d553821](https://github.com/saltstack-formulas/nginx-formula/commit/d553821))
2019-05-13 01:59:29 +00:00
John Keates
a42df0f9d5
Merge pull request #235 from myii/chore/add-breaking-changes-warning-banner
docs(readme): add warning banner about `v1.0.0` breaking changes
2019-05-13 03:41:54 +02:00
Imran Iqbal
d553821caf
docs(readme): add warning banner about v1.0.0 breaking changes 2019-05-13 02:38:15 +01:00
semantic-release-bot
cbcf87db97 chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.1...v1.0.2) (2019-05-12)

### Documentation

* **readme:** update README, add badges ([adbac43](https://github.com/saltstack-formulas/nginx-formula/commit/adbac43))
2019-05-12 23:37:02 +00:00
Nicolas Rodriguez
adbac43775 docs(readme): update README, add badges 2019-05-13 00:23:44 +01:00
semantic-release-bot
181a5de661 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/saltstack-formulas/nginx-formula/compare/v1.0.0...v1.0.1) (2019-05-12)

### Documentation

* remove obsolete CHANGELOG.rst file ([698aadb](https://github.com/saltstack-formulas/nginx-formula/commit/698aadb))
2019-05-12 19:46:00 +00:00
John Keates
2c5d67a751
Merge pull request #233 from noelmcloughlin/changelog
docs: remove obsolete CHANGELOG.rst file
2019-05-12 21:30:11 +02:00
N
698aadb911
docs: remove obsolete CHANGELOG.rst file 2019-05-12 20:23:30 +01:00
semantic-release-bot
fa99f05a39 chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/saltstack-formulas/nginx-formula/compare/v0.56.1...v1.0.0) (2019-05-12)

### Build System

* remove obsolete Makefile ([4961b04](https://github.com/saltstack-formulas/nginx-formula/commit/4961b04))

### Code Refactoring

* replace old `nginx` with `nginx.ng` ([0fc5070](https://github.com/saltstack-formulas/nginx-formula/commit/0fc5070))

### BREAKING CHANGES

* all previous `nginx` based configurations must be reviewed;
`nginx.ng` usage must be promoted to `nginx` and any uses of the original
`nginx` will have to be converted.
2019-05-12 16:27:17 +00:00
Eric Veiras Galisson
4961b04fcc build: remove obsolete Makefile 2019-05-12 17:13:17 +01:00
Eric Veiras Galisson
0fc507055d refactor: replace old nginx with nginx.ng
BREAKING CHANGE: all previous `nginx` based configurations must be reviewed;
`nginx.ng` usage must be promoted to `nginx` and any uses of the original
`nginx` will have to be converted.
2019-05-12 17:13:17 +01:00
semantic-release-bot
90d2601a8b chore(release): 0.56.1 [skip ci]
## [0.56.1](https://github.com/saltstack-formulas/nginx-formula/compare/v0.56.0...v0.56.1) (2019-04-27)

### Tests

* **inspec:** add test for `log_format` [#219](https://github.com/saltstack-formulas/nginx-formula/issues/219) ([4ed788e](https://github.com/saltstack-formulas/nginx-formula/commit/4ed788e))
2019-04-27 07:25:53 +00:00
Niels Abspoel
27711e2a34
Merge pull request #231 from myii/chore/test-log_format
test(inspec): add test for `log_format` #219
2019-04-27 09:08:22 +02:00
semantic-release-bot
c9815cabfd chore(release): 0.56.0 [skip ci]
# [0.56.0](https://github.com/saltstack-formulas/nginx-formula/compare/v0.55.1...v0.56.0) (2019-04-26)

### Features

* **`pillar.example`:** add stock `log_format` ([95ff308](https://github.com/saltstack-formulas/nginx-formula/commit/95ff308))
2019-04-26 16:02:48 +00:00
Garrett W
95ff308e7e feat(pillar.example): add stock log_format 2019-04-26 16:38:17 +01:00
Imran Iqbal
4ed788e5c7
test(inspec): add test for log_format #219 2019-04-26 16:33:37 +01:00
semantic-release-bot
36791727db chore(release): 0.55.1 [skip ci]
## [0.55.1](https://github.com/saltstack-formulas/nginx-formula/compare/v0.55.0...v0.55.1) (2019-04-26)

### Documentation

* **semantic-release:** implement an automated changelog ([569b07a](https://github.com/saltstack-formulas/nginx-formula/commit/569b07a))
2019-04-26 08:42:54 +00:00
Eric Veiras Galisson
1789cd3a32 WIP 2019-04-26 09:11:11 +01:00
Eric Veiras Galisson
569b07a696 docs(semantic-release): implement an automated changelog 2019-04-26 09:11:11 +01:00
Javier Bértoli
821deb97cb
Merge pull request #228 from myii/chore/ci-enable-py2-centos-7
ci(kitchen+travis): use `py2` instead of `py3` for `centos-7`
2019-04-19 16:01:20 -03:00
Imran Iqbal
2f6a7d4e6d
ci(kitchen+travis): use py2 instead of py3 for centos-7
* https://github.com/saltstack-formulas/salt-formula/pull/414
2019-04-19 19:29:25 +01:00
Imran Iqbal
c24d2b64d4 ci(travis): fix opensuse tests 2019-04-17 11:00:23 +01:00
Eric Veiras Galisson
7e737c1863 test(inspec): more tests on nginx config 2019-04-17 11:00:23 +01:00
Javier Bértoli
072a113454
Merge pull request #225 from saltstack-formulas/myii-patch-1
fix(gemfile): use latest `kitchen-salt`
2019-04-13 14:10:54 -03:00
Imran Iqbal
5d457d8b12
fix(gemfile): use latest kitchen-salt 2019-04-13 17:10:05 +01:00
Eric Veiras Galisson
f9e9d602d7 docs(README): remove obsolete tests section 2019-04-13 01:50:49 +01:00
Eric Veiras Galisson
35a81c8fb0 ci(travis): disabling CentOS7 tests for now 2019-04-12 22:29:20 +01:00