Commit Graph

630 Commits

Author SHA1 Message Date
Georg Pfuetzenreuter b38ad00f9f
Include vhosts.d
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-05 03:14:47 +01:00
Georg Pfuetzenreuter 945f2958e3
fix(opensuse): pkgrepo.absent TypeError
Repository can only be removed by name, other fields cause del_repo() to
fail.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-05 03:14:46 +01:00
Georg Pfuetzenreuter b4804e40fe
feat(opensuse): optional openSUSE devel repository
All modern openSUSE releases (Leap 15.x, Tumbleweed) ship nginx in the
default repositories. The devel repository should not be used unless the
user knows what they are doing.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-05 03:14:46 +01:00
Georg Pfuetzenreuter 78d4f26c8f
fix(opensuse): update to openSUSE Leap >= 15.4
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-05 03:14:43 +01:00
Georg Pfuetzenreuter 23df36ded9
feat(servers_config): enable configs by default
Don't require `enabled: true` - helps distributions without
separate available/enabled directories and prevents error:
"Rendering SLS 'production:nginx.servers' failed: Jinja variable 'list
object' has no attribute 'enabled'"

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-04 14:49:28 +01:00
Imran Iqbal 982705f1a6
chore(gemfile.lock): update to latest gem versions (2022-W28) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/454
2022-07-17 19:46:09 +01:00
Imran Iqbal b48b17078d
chore(gemfile.lock): update to latest gem versions (2022-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/453
2022-06-30 23:07:26 +01:00
Imran Iqbal 28d2f86f7b
chore(gemfile.lock): update to latest gem versions (2022-W24) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/452
2022-06-15 23:04:35 +01:00
Imran Iqbal 9f83975053
ci: update `pre-commit` configuration inc. for pre-commit.ci [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/450
2022-06-09 00:03:18 +01:00
Imran Iqbal d47c336f86
chore(gemfile.lock): update to latest gem versions (2022-W23) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/449
2022-06-07 23:29:25 +01:00
Imran Iqbal 297ffed80c
chore(gemfile.lock): update to latest gem versions (2022-W22) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/447
2022-05-30 17:27:11 +01:00
Imran Iqbal e397c899e1
chore(gemfile.lock): update to latest gem versions (2022-W20) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/444
2022-05-17 13:20:09 +01:00
Imran Iqbal 82225416ef
test(system.rb): add support for `mac_os_x` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/442
2022-05-17 08:50:12 +01:00
Imran Iqbal 6f2b7b100c
ci(vagrant): use `linked_clone` at all times (inc. CI) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/441
2022-05-14 20:11:11 +01:00
Imran Iqbal 21f862fcf0
chore(gemfile.lock): update to latest gem versions (2022-W19) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/439
2022-05-10 07:32:15 +01:00
Imran Iqbal 29a8df5f6b
chore(gemfile.lock): update to latest gem versions (2022-W18) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/437
2022-05-06 23:16:29 +01:00
Imran Iqbal f72d089461
chore(gemfile.lock): update to latest gem versions (2022-W17) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/433
2022-04-25 09:09:59 +01:00
Imran Iqbal c6d013fdd2
chore(gemfile.lock): update to latest gem versions (2022-W16) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/431
2022-04-18 23:36:15 +01:00
Imran Iqbal 3219d48956
chore(gemfile.lock): update to latest gem versions (2022-W15) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/428
2022-04-11 19:21:07 +01:00
Imran Iqbal 528cb889f5
chore(gemfile.lock): update to latest gem versions (2022-W14) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/427
2022-04-04 09:22:27 +01:00
Imran Iqbal 2df772ee67
ci(kitchen+gitlab): update for new pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/426
2022-04-03 15:06:48 +01:00
Imran Iqbal 5d456ac7d4
chore(gemfile.lock): update to latest gem versions (2022-W13) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/425
2022-04-01 15:34:46 +01:00
Imran Iqbal 7ea868cef5
chore(gemfile.lock): update to latest gem versions (2022-W12) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/424
2022-03-22 12:00:55 +00:00
Imran Iqbal 36557f9474
chore(gemfile.lock): update to latest gem versions (2022-W11) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/423
2022-03-17 23:39:43 +00:00
Imran Iqbal 75cd9b2f55
chore(gemfile.lock): update to latest gem versions (2022-W10) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/422
2022-03-12 10:04:57 +00:00
Imran Iqbal 853311d2a0
chore(gemfile.lock): update to latest gem versions (2022-W09) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/421
2022-03-04 15:32:06 +00:00
semantic-release-bot 6eaf2da079 chore(release): 2.8.1 [skip ci]
## [2.8.1](https://github.com/saltstack-formulas/nginx-formula/compare/v2.8.0...v2.8.1) (2022-03-02)

### Bug Fixes

* **debian:** avoid adding repositories entries multiple times ([d1d3e55](d1d3e552ad)), closes [/github.com/saltstack/salt/issues/59785#issuecomment-826590482](https://github.com//github.com/saltstack/salt/issues/59785/issues/issuecomment-826590482)

### Continuous Integration

* update linters to latest versions [skip ci] ([512fe00](512fe00a06))

### Tests

* **repository:** use `system.platform[:codename]` [skip ci] ([0e51694](0e51694c2a))
* **system:** add `build_platform_codename` [skip ci] ([5f1a289](5f1a289f11))
2022-03-02 09:32:17 +00:00
Imran Iqbal dc80549314
Merge pull request #290 from netmanagers/fix-duplicated-entries-in-debian-family-repositories
fix(debian): avoid adding repositories entries multiple times
2022-03-02 09:22:04 +00:00
Javier Bértoli d1d3e552ad fix(debian): avoid adding repositories entries multiple times
Entries are being duplicated as described in

* https://github.com/saltstack/salt/issues/60220 and
* https://github.com/saltstack/salt/issues/59785#issuecomment-826590482
2022-03-01 13:42:37 -03:00
Imran Iqbal c9380274d4
chore(gemfile.lock): update to latest gem versions (2022-W08) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/419
2022-02-21 19:09:36 +00:00
Imran Iqbal e97be9359d
chore(gemfile.lock): update to latest gem versions (2022-W07) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/416
2022-02-15 09:01:37 +00:00
Imran Iqbal 0e51694c2a
test(repository): use `system.platform[:codename]` [skip ci]
Tested:

* https://gitlab.com/myii/nginx-formula/-/pipelines/470231421
2022-02-14 08:23:17 +00:00
Imran Iqbal 5f1a289f11
test(system): add `build_platform_codename` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/415
2022-02-14 08:07:17 +00:00
Imran Iqbal 512fe00a06
ci: update linters to latest versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/414
2022-02-12 23:22:34 +00:00
Imran Iqbal 566d171005
chore(gemfile.lock): update to latest gem versions (2022-W06) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/412
2022-02-07 17:29:14 +00:00
semantic-release-bot ec9559b2c3 chore(release): 2.8.0 [skip ci]
# [2.8.0](https://github.com/saltstack-formulas/nginx-formula/compare/v2.7.5...v2.8.0) (2022-02-03)

### Code Refactoring

* **pkgs:** readbility ([b76e8cc](b76e8cc664))

### Continuous Integration

* **kitchen+gitlab:** update for new pre-salted images [skip ci] ([7fcb960](7fcb9608cd))

### Features

* **debian:** use keyrings instead of key_ids ([037c13a](037c13a674))

### Reverts

* **pkg:** use grains.osfinger in a format suitable for all platforms ([8fee9f0](8fee9f05bd))

### Styles

* **map.jinja:** remove empty line ([ae52641](ae52641cfc))

### Tests

* **repository:** favor `platform` over `os` ([c16ecf8](c16ecf82f5))
2022-02-03 16:23:40 +00:00
Imran Iqbal bc86b743fd
Merge pull request #289 from netmanagers/debian-family-apt-keyrings
feat(debian): use keyrings instead of key_ids
2022-02-03 16:14:57 +00:00
Javier Bértoli c16ecf82f5 test(repository): favor `platform` over `os` 2022-02-03 12:59:32 -03:00
Javier Bértoli 8fee9f05bd revert(pkg): use grains.osfinger in a format suitable for all platforms 2022-02-03 11:45:11 -03:00
Javier Bértoli ae52641cfc style(map.jinja): remove empty line 2022-02-03 11:44:33 -03:00
Javier Bértoli b76e8cc664 refactor(pkgs): readbility 2022-02-03 10:53:14 -03:00
Imran Iqbal 7fcb9608cd
ci(kitchen+gitlab): update for new pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/410
2022-02-02 23:03:57 +00:00
Javier Bértoli 037c13a674 feat(debian): use keyrings instead of key_ids 2022-02-02 18:55:23 -03:00
semantic-release-bot 3f1a7b7082 chore(release): 2.7.5 [skip ci]
## [2.7.5](https://github.com/saltstack-formulas/nginx-formula/compare/v2.7.4...v2.7.5) (2022-02-02)

### Bug Fixes

* **snippets:** make sure they're deployed before being used ([9dfc1c1](9dfc1c1b2f))

### Continuous Integration

* **3003.1:** update inc. AlmaLinux, Rocky & `rst-lint` [skip ci] ([6a42a9b](6a42a9bdf8))
* **freebsd:** update with latest pre-salted Vagrant boxes [skip ci] ([860fabe](860fabe327))
* **gemfile:** allow rubygems proxy to be provided as an env var [skip ci] ([1557473](155747346c))
* **gemfile+lock:** use `ssf` customised `inspec` repo [skip ci] ([a11da83](a11da83d03))
* **gitlab-ci:** enable instance after upstream issue resolved [skip ci] ([79499e8](79499e841b))
* **kitchen:** move `provisioner` block & update `run_command` [skip ci] ([6b65017](6b650177aa))
* **kitchen+ci:** update with `3004` pre-salted images/boxes [skip ci] ([30f87cc](30f87cc84b))
* **kitchen+ci:** update with latest `3003.2` pre-salted images [skip ci] ([70a1f31](70a1f3135c))
* **kitchen+ci:** update with latest CVE pre-salted images [skip ci] ([e041418](e0414181a7))
* **vagrant:** replace FreeBSD 12.2 with 12.3 [skip ci] ([7deb74f](7deb74fdbc))
* add Debian 11 Bullseye & update `yamllint` configuration [skip ci] ([fa8a5db](fa8a5db507))
* **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] ([d15f3de](d15f3decb3))
2022-02-02 13:14:17 +00:00
Javier Bértoli 340237459b
Merge pull request #288 from netmanagers/deploy-snippets-before-they-are-used
fix(snippets): make sure they're deployed before being used
2022-02-01 20:53:59 -03:00
Imran Iqbal 93d6a9fe46
chore(gemfile.lock): update to latest gem versions (2022-W05) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/409
2022-02-01 23:40:26 +00:00
Javier Bértoli 9dfc1c1b2f fix(snippets): make sure they're deployed before being used 2022-01-28 17:52:33 -03:00
noelmcloughlin 155747346c
ci(gemfile): allow rubygems proxy to be provided as an env var [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/408
2022-01-26 08:41:55 +00:00
Imran Iqbal 182dc71a03
chore(gemfile.lock): update to latest gem versions (2022-W04) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/407
2022-01-25 14:12:50 +00:00
Imran Iqbal 437fe7fc0d
chore(gemfile.lock): update to latest gem versions (2022-W03) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/405
2022-01-17 19:48:48 +00:00