Commit Graph

161 Commits

Author SHA1 Message Date
Javier Bértoli
a5b44c812b fix(archive): add config file to service only if defined 2020-08-29 18:26:02 -03:00
Javier Bértoli
a5d4d03f8d test(archive): add tests to check service names
this commit makes `service name` to consider pillar provided values,
fallback to a consistent `service name` when {archive|package} is available
for the component, or to `service name == name` when no other value
is provided
2020-08-25 14:10:02 -03:00
Javier Bértoli
219250a215 fix(archive): service name needs to use pillar values
in archive mode, the service file name was ignoring the value set in
pillar (`pgk:component:service:name`).
2020-08-25 11:28:28 -03:00
Javier Bértoli
7c1cdb8fdf test(services): fix path for debian family 2020-08-24 19:55:09 -03:00
Javier Bértoli
844a77f16a fix(debian): add some valid defaults 2020-08-24 19:25:19 -03:00
Imran Iqbal
97584e6bc3
Merge pull request #43 from n-rodriguez/fix/debian
Fix node_exporter service not restarted on archive fresh install
2020-08-24 23:21:33 +01:00
Nicolas Rodriguez
49e6fa5671 fix(test): fix tests for RedHat OSes in repo mode 2020-08-25 00:03:10 +02:00
Nicolas Rodriguez
b03a1ccf04 fix(pillar): fix service name in archive mode 2020-08-24 23:02:21 +02:00
Nicolas Rodriguez
910a06df5f fix(test): fix test pillars 2020-08-24 22:48:53 +02:00
Nicolas Rodriguez
0169c89ca4 fix(service): pick up the right service name in pillars 2020-08-24 22:47:14 +02:00
Nicolas Rodriguez
41da7cc697 fix(test): fix alertmanager service name in repo mode test 2020-08-24 18:07:51 +02:00
semantic-release-bot
13597212cf chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.1.1...v5.0.0) (2020-08-24)

### Bug Fixes

* **defaults:** set clientlibs defaults to an empty list ([](https://github.com/saltstack-formulas/prometheus-formula/commit/cdd2e6d))

### BREAKING CHANGES

* **defaults:** The golang clientib is not required for
the regular use of this formula but, if you already expected it to be
installed by default, you'll need to update your pillars to do so.
Running this version of the formula over previous ones won't break the
minions, only skip clientlibs.
2020-08-24 15:52:53 +00:00
Nicolas Rodriguez
deb9cd28a8 fix(service): service is not reloaded because of failing if 2020-08-24 17:52:22 +02:00
Nicolas Rodriguez
461ce4ffcd style(test): improve Ruby style 2020-08-24 17:51:59 +02:00
Nicolas Rodriguez
6010cc32b8 fix(test): add tests on prometheus-node-exporter 2020-08-24 17:51:21 +02:00
N
6478694fa4
Merge pull request #41 from netmanagers/master
fix(defaults): set clientlibs defaults to an empty list
2020-08-24 17:37:29 +02:00
Nicolas Rodriguez
4e8c69f72b fix(test): add tests on node_exporter service 2020-08-24 17:13:03 +02:00
Nicolas Rodriguez
890bfc15e3 fix(test): test Salt 3001 with Debian 9 and 10 2020-08-24 17:12:05 +02:00
Javier Bértoli
cdd2e6db52 fix(defaults): set clientlibs defaults to an empty list
BREAKING CHANGE: The golang clientib is not required for
the regular use of this formula but, if you already expected it to be
installed by default, you'll need to update your pillars to do so.
Running this version of the formula over previous ones won't break the
minions, only skip clientlibs.
2020-08-24 10:27:18 -03:00
semantic-release-bot
4b483300f6 chore(release): 4.1.1 [skip ci]
## [4.1.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.1.0...v4.1.1) (2020-08-24)

### Bug Fixes

* **osfamilymap.yaml:** add gentoo exporters and remove loose go install ([](https://github.com/saltstack-formulas/prometheus-formula/commit/e0aecdb))
2020-08-24 13:27:12 +00:00
Javier Bértoli
1dc291feed
Merge pull request #40 from mgomersbach/markg_repair_gentoo
fix(osfamilymap.yaml): add gentoo exporters and remove loose go install
2020-08-24 10:18:17 -03:00
Mark Gomersbach
e0aecdbbbc
fix(osfamilymap.yaml): add gentoo exporters and remove loose go install
Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
2020-08-24 13:56:07 +02:00
semantic-release-bot
bf3826634a chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.0.2...v4.1.0) (2020-08-21)

### Continuous Integration

* **travis,kitchen:** update matrix ([](https://github.com/saltstack-formulas/prometheus-formula/commit/1eeda22))

### Documentation

* **pillar.example:** add some comments ([](https://github.com/saltstack-formulas/prometheus-formula/commit/68aaa34))

### Features

* **debian:** allow to install using OS packages ([](https://github.com/saltstack-formulas/prometheus-formula/commit/3014494))

### Tests

* **packages:** check when using repo or archives ([](https://github.com/saltstack-formulas/prometheus-formula/commit/c5ad857))
2020-08-21 18:12:19 +00:00
N
3f15c88d32
Merge pull request #39 from netmanagers/master
Allow to use OS packages in Debian family
2020-08-21 20:02:11 +02:00
Javier Bértoli
1eeda220d1 ci(travis,kitchen): update matrix 2020-08-21 13:18:47 -03:00
Javier Bértoli
68aaa34378 docs(pillar.example): add some comments 2020-08-21 10:46:48 -03:00
Javier Bértoli
c5ad857590 test(packages): check when using repo or archives 2020-08-21 10:34:29 -03:00
Javier Bértoli
3014494740 feat(debian): allow to install using OS packages 2020-08-21 10:33:20 -03:00
semantic-release-bot
0166fbdf6c chore(release): 4.0.2 [skip ci]
## [4.0.2](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.0.1...v4.0.2) (2020-08-18)

### Bug Fixes

* **linux:** service.args is freebsd ([](https://github.com/saltstack-formulas/prometheus-formula/commit/ceb9863))
* **permissions:** correct basedir user/group ([](https://github.com/saltstack-formulas/prometheus-formula/commit/d65858a))
2020-08-18 23:33:51 +00:00
N
a0cec39d35
Merge pull request #38 from noelmcloughlin/i16
fix(linux): service.args is freebsd
2020-08-19 01:28:28 +02:00
N
554b5bbdac
Merge pull request #34 from noelmcloughlin/repo2
chore(firewall): improve firewalld handling
2020-08-19 01:27:39 +02:00
noelmcloughlin
d65858a154 fix(permissions): correct basedir user/group 2020-08-18 21:50:52 +01:00
noelmcloughlin
ceb9863749 fix(linux): service.args is freebsd 2020-08-18 21:18:52 +01:00
noelmcloughlin
fe835534e4 chore(firewall): open salt ports 2020-08-17 15:55:39 +01:00
semantic-release-bot
893bc60058 chore(release): 4.0.1 [skip ci]
## [4.0.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v4.0.0...v4.0.1) (2020-08-17)

### Bug Fixes

* **ubuntu:** pkgrepo cannot be used ([](https://github.com/saltstack-formulas/prometheus-formula/commit/fd2ff5f))
2020-08-17 14:49:45 +00:00
N
9b6c13d62c
Merge pull request #32 from noelmcloughlin/repo
fix(ubuntu): pkgrepo cannot be used
2020-08-17 16:44:15 +02:00
noelmcloughlin
fd2ff5fade fix(ubuntu): pkgrepo cannot be used 2020-08-09 23:21:14 +01:00
semantic-release-bot
68f54e4dad chore(release): 4.0.0 [skip ci]
# [4.0.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v3.3.0...v4.0.0) (2020-08-09)

### Bug Fixes

* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/5403088))
* **pr:** adopt pr comments ([](https://github.com/saltstack-formulas/prometheus-formula/commit/e4b924a))

### Code Refactoring

* **all:** align to template-formula; add clientlibs feature ([](https://github.com/saltstack-formulas/prometheus-formula/commit/ce5b771))

### Continuous Integration

* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/da8f6a8))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/f63a64d))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/9b45ea4))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/d978c50))
* **travis:** add notifications => zulip [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/4b5ec2f))
* **workflows/commitlint:** add to repo [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/b32d92a))

### Styles

* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([](https://github.com/saltstack-formulas/prometheus-formula/commit/2660b19))

### BREAKING CHANGES

* **all:** The data dictionary is simplified and expanded.
Retest your states and update pillar data accordingly.
For developer convenience, clientlibs states were introduced.
See pillar.example, defaults.yaml, and docs/README.
2020-08-09 21:14:55 +00:00
N
1b03b51f6c
Merge pull request #30 from noelmcloughlin/refactor2
refactor(all): align to template-formula; add clientlibs
2020-08-09 23:08:30 +02:00
N
9f63dab5b7
Merge branch 'master' into refactor2 2020-08-09 23:01:28 +02:00
N
e4b924a884 fix(pr): adopt pr comments 2020-07-19 23:33:28 +01:00
Imran Iqbal
2660b19e7f style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-19 23:28:19 +01:00
Imran Iqbal
a71533690c 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:30:35 +01:00
N
9a4923ec2e
Merge branch 'master' into refactor2 2020-06-30 15:29:08 +01:00
Imran Iqbal
50dea62f7e 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:46:48 +01:00
Imran Iqbal
7397da08eb 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:59:07 +01:00
Imran Iqbal
9b45ea4759 ci(kitchen): use saltimages Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
2020-06-15 16:59:08 +01:00
Imran Iqbal
a1af6778b5 chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
2020-06-15 15:09:59 +01:00
Imran Iqbal
6805baac56 chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
2020-06-05 22:19:36 +01:00
Imran Iqbal
a529925e2b chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
2020-05-28 00:21:28 +01:00