Commit Graph

167 Commits

Author SHA1 Message Date
Imran Iqbal
5dd496c1c4
ci(pre-commit): enable/disable rstcheck as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
2020-10-05 00:23:49 +01:00
Dafydd Jones
a639b782cf
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:52:33 +01:00
Imran Iqbal
f6eb546174
chore: standardise structure [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/261
2020-10-02 23:02:49 +01:00
semantic-release-bot
26b26abd28 chore(release): 5.0.2 [skip ci]
## [5.0.2](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.0.1...v5.0.2) (2020-08-31)

### Bug Fixes

* **archive:** add config file to service only if defined ([](https://github.com/saltstack-formulas/prometheus-formula/commit/a5b44c8))
* **archive:** service name needs to use pillar values ([](https://github.com/saltstack-formulas/prometheus-formula/commit/219250a))
* **debian:** add some valid defaults ([](https://github.com/saltstack-formulas/prometheus-formula/commit/844a77f))

### Tests

* **archive:** add tests to check service names ([](https://github.com/saltstack-formulas/prometheus-formula/commit/a5d4d03))
* **services:** fix path for debian family ([](https://github.com/saltstack-formulas/prometheus-formula/commit/7c1cdb8))
2020-08-31 17:03:48 +00:00
Nicolas Rodriguez
a53d228c95
Merge pull request #44 from netmanagers/master
fix(debian): add some valid defaults
2020-08-31 18:53:24 +02:00
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
semantic-release-bot
47ffcb269e chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.0.0...v5.0.1) (2020-08-24)

### Bug Fixes

* **pillar:** fix service name in archive mode ([](https://github.com/saltstack-formulas/prometheus-formula/commit/b03a1cc))
* **service:** pick up the right service name in pillars ([](https://github.com/saltstack-formulas/prometheus-formula/commit/0169c89))
* **service:** service is not reloaded because of failing if ([](https://github.com/saltstack-formulas/prometheus-formula/commit/deb9cd2))
* **test:** add tests on node_exporter service ([](https://github.com/saltstack-formulas/prometheus-formula/commit/4e8c69f))
* **test:** add tests on prometheus-node-exporter ([](https://github.com/saltstack-formulas/prometheus-formula/commit/6010cc3))
* **test:** fix alertmanager service name in repo mode test ([](https://github.com/saltstack-formulas/prometheus-formula/commit/41da7cc))
* **test:** fix test pillars ([](https://github.com/saltstack-formulas/prometheus-formula/commit/910a06d))
* **test:** fix tests for RedHat OSes in repo mode ([](https://github.com/saltstack-formulas/prometheus-formula/commit/49e6fa5))
* **test:** test Salt 3001 with Debian 9 and 10 ([](https://github.com/saltstack-formulas/prometheus-formula/commit/890bfc1))

### Styles

* **test:** improve Ruby style ([](https://github.com/saltstack-formulas/prometheus-formula/commit/461ce4f))
2020-08-24 22:31:29 +00: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