Commit Graph

284 Commits

Author SHA1 Message Date
semantic-release-bot
c93300cddd chore(release): 5.6.2 [skip ci]
## [5.6.2](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.6.1...v5.6.2) (2021-12-13)

### Bug Fixes

* **groups:** groups should always be created as system groups ([711ebf7](711ebf7c1b))
2021-12-13 22:49:24 +00:00
N
1f84e4c6e0
Merge pull request #73 from mdschmitt/master
fix(groups): groups should always be created as system groups
2021-12-13 22:39:12 +00:00
Michael Schmitt
711ebf7c1b
fix(groups): groups should always be created as system groups 2021-12-13 15:20:54 -07:00
semantic-release-bot
cad14ac07e chore(release): 5.6.1 [skip ci]
## [5.6.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.6.0...v5.6.1) (2021-12-09)

### Bug Fixes

* **users:** users should always be created as system users ([ee20f82](ee20f821d6))

### Continuous Integration

* **kitchen+ci:** update with `3004` pre-salted images/boxes [skip ci] ([4628d74](4628d741b8))
* **kitchen+ci:** update with latest `3003.2` pre-salted images [skip ci] ([cfb0949](cfb0949e82))
* **kitchen+ci:** update with latest CVE pre-salted images [skip ci] ([9fda233](9fda2330ab))
2021-12-09 15:04:49 +00:00
N
11513c4d9c
Merge pull request #72 from mdschmitt/fix_system_users
fix(users): users should always be created as system users
2021-12-09 14:54:50 +00:00
Michael Schmitt
ee20f821d6
fix(users): users should always be created as system users 2021-12-09 00:54:54 -07:00
Imran Iqbal
4aa4777b03
chore(gemfile.lock): update to latest gem versions (2021-W49) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/388
2021-12-06 08:22:17 +00:00
Imran Iqbal
5938fe5eab
chore(gemfile.lock): update to latest gem versions (2021-W47) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/386
2021-11-23 11:43:52 +00:00
Imran Iqbal
4628d741b8
ci(kitchen+ci): update with 3004 pre-salted images/boxes [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/385
2021-11-23 10:36:48 +00:00
Imran Iqbal
70cd33ef19
chore(gemfile.lock): update to latest gem versions (2021-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/381
2021-10-26 11:15:40 +01:00
Imran Iqbal
2575aa2c06
chore(gemfile.lock): update to latest gem versions (2021-W42) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/380
2021-10-23 21:11:14 +01:00
Imran Iqbal
d4094f708b
chore(gemfile.lock): update to latest gem versions (2021-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/378
2021-10-15 19:11:02 +01:00
Imran Iqbal
4d8a0c694c
chore(gemfile.lock): update to latest gem versions (2021-W40) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/375
2021-10-06 17:05:10 +01:00
Imran Iqbal
9fda2330ab
ci(kitchen+ci): update with latest CVE pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/374
2021-10-05 11:16:35 +01:00
Imran Iqbal
b2a86e6c09
chore(gemfile.lock): update to latest gem versions (2021-W39) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/370
2021-09-30 07:19:07 +01:00
Imran Iqbal
5db9fe534d
chore(gemfile.lock): update to latest gem versions (2021-W38) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/369
2021-09-21 11:59:19 +01:00
Imran Iqbal
a16397efda
chore(gemfile.lock): update to latest gem versions (2021-W37) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/368
2021-09-14 09:57:57 +01:00
Imran Iqbal
5cf6488b41
chore(gemfile.lock): update to latest gem versions (2021-W36) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/367
2021-09-08 23:34:45 +01:00
Imran Iqbal
2332c7d2f1
chore(gemfile.lock): update to latest gem versions (2021-W35) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/364
2021-08-30 18:10:54 +01:00
Imran Iqbal
cec7a6e3f1
chore(gemfile.lock): update to latest gem versions (2021-W34) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/362
2021-08-23 09:25:08 +01:00
Imran Iqbal
cfb0949e82
ci(kitchen+ci): update with latest 3003.2 pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/360
2021-08-19 10:14:19 +01:00
Imran Iqbal
74c8358191
chore(gemfile.lock): update to latest gem versions (2021-W33) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/359
2021-08-16 18:24:58 +01:00
Imran Iqbal
0179638ba6
chore(gemfile.lock): update to latest gem versions (2021-W32) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/358
2021-08-09 12:15:29 +01:00
semantic-release-bot
1c0ce65e12 chore(release): 5.6.0 [skip ci]
# [5.6.0](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.5.2...v5.6.0) (2021-08-06)

### Bug Fixes

* **defaults:** use nologin instead of /bin/false ([1af0deb](1af0deb087))
* **indempotency:** run reload onchanges only ([9166498](9166498fd8))

### Continuous Integration

* **gemfile+lock:** use `ssf` customised `inspec` repo [skip ci] ([3fafc21](3fafc2172e))
* add Debian 11 Bullseye & update `yamllint` configuration [skip ci] ([802970c](802970c47d))
* **kitchen:** move `provisioner` block & update `run_command` [skip ci] ([3203953](32039539bb))

### Features

* **config/users:** add support for `debian-11` [skip ci] ([0e65cc3](0e65cc345b))
2021-08-06 10:14:12 +00:00
N
bc5713d29e
Merge pull request #71 from mdschmitt/use_nologin_shell
fix(defaults): Use nologin instead of /bin/false
2021-08-06 11:00:29 +01:00
N
6951f9f482
Merge pull request #69 from noelmcloughlin/onchange
fix(indempotency): run reload onchanges only
2021-08-06 10:59:34 +01:00
Michael Schmitt
1af0deb087
fix(defaults): use nologin instead of /bin/false 2021-08-06 00:04:18 -06:00
Imran Iqbal
3fafc2172e
ci(gemfile+lock): use ssf customised inspec repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/357
2021-08-04 21:56:04 +01:00
Imran Iqbal
bd213f2ddf
chore(gemfile.lock): update to latest gem versions (2021-W31) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/356
2021-08-04 21:38:49 +01:00
Imran Iqbal
1b94b086c1
chore(gemfile.lock): update to latest gem versions (2021-W30) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/353
2021-07-26 14:30:13 +01:00
Imran Iqbal
33fbb956cd
chore(gemfile.lock): update to latest gem versions (2021-W29) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/349
2021-07-21 18:32:58 +01:00
Imran Iqbal
802970c47d
ci: add Debian 11 Bullseye & update yamllint configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/345
2021-07-18 19:04:28 +01:00
Imran Iqbal
0e65cc345b
feat(config/users): add support for debian-11 [skip ci]
Avoid this failure when installing the package:

```
Setting up prometheus (2.24.1+ds-1+b5) ...
adduser: The user `prometheus' already exists, but is not a system user. Exiting.
dpkg: error processing package prometheus (--configure):
 installed prometheus package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 prometheus
```
2021-07-18 14:42:35 +01:00
Imran Iqbal
32039539bb
ci(kitchen): move provisioner block & update run_command [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/344
2021-07-17 21:12:00 +01:00
Imran Iqbal
7ddcd607f6
chore(gemfile+lock): update to latest gem versions (2021-W28) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/343
2021-07-17 20:29:21 +01:00
semantic-release-bot
4bd140d71b chore(release): 5.5.2 [skip ci]
## [5.5.2](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.5.1...v5.5.2) (2021-07-16)

### Bug Fixes

* **clientlibs/install:** ensure tar is available for Amazon Linux 2 ([7140ccf](7140ccf8a8))
* check for Amazon in osfamilymap for pkg repo ([338ab4d](338ab4ddb6)), closes [#65](https://github.com/saltstack-formulas/prometheus-formula/issues/65)
* update Gitlab CI -test amazonlinux correctly ([6745bf2](6745bf23d4)), closes [#65](https://github.com/saltstack-formulas/prometheus-formula/issues/65)
2021-07-16 02:50:20 +00:00
Imran Iqbal
f9c4e46282
Merge pull request #67 from mdschmitt/master
Check for Amazon in osfamilymap to create pkg repo
2021-07-16 03:39:19 +01:00
Michael Schmitt
7140ccf8a8
fix(clientlibs/install): ensure tar is available for Amazon Linux 2 2021-07-15 20:23:21 -06:00
Michael Schmitt
6745bf23d4
fix: update Gitlab CI -test amazonlinux correctly
* this change sets things to test both the default and repo suites for Amazon Linux.

Resolves #65
2021-07-15 17:56:23 -06:00
Michael Schmitt
338ab4ddb6
fix: check for Amazon in osfamilymap for pkg repo
* Add check for Amazon Linux to osfamilymap.yaml so that the RPM package repository is properly generated.

Resolves #65
2021-07-15 02:17:59 -06:00
noelmcloughlin
9166498fd8 fix(indempotency): run reload onchanges only 2021-07-15 09:13:17 +01:00
Imran Iqbal
2c572d0019
chore(deps): bump addressable from 2.7.0 to 2.8.0 [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/340
2021-07-14 12:15:49 +01:00
semantic-release-bot
8e9616208c chore(release): 5.5.1 [skip ci]
## [5.5.1](https://github.com/saltstack-formulas/prometheus-formula/compare/v5.5.0...v5.5.1) (2021-07-09)

### Bug Fixes

* added guidance and reverted incorrected changes from prior commits ([0ca247a](0ca247a37e)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* added guidance and reverted incorrected changes from prior commits ([a4dfb87](a4dfb87554)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* added handle for alternative argument opts header ([076869a](076869a8cd)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* added handle for alternative argument opts header ([4de3ebd](4de3ebd241)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* removed erroneus dash (-) ([ef8a3a9](ef8a3a9ad7)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* removed erroneus dash (-) ([52845bb](52845bb534)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* revert to use of macro.jinja for arg handling ([f2261f9](f2261f9dc9))
* revert to use of macro.jinja for arg handling ([696bee0](696bee0522))
* rework to implement environment variables handling ([e52f804](e52f804bf4)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* rework to implement environment variables handling ([eea5b40](eea5b407fa)), closes [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59) [#59](https://github.com/saltstack-formulas/prometheus-formula/issues/59)
* switched test config entry that wasnt available for deb9 ([5c1d8b6](5c1d8b6870))
* switched test config entry that wasnt available for deb9 ([4635ca7](4635ca7070))

### Continuous Integration

* **3003.1:** update inc. AlmaLinux, Rocky & `rst-lint` [skip ci] ([5550397](55503974e4))
* **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] ([fa96aab](fa96aabba7))
2021-07-09 23:37:57 +00:00
N
f51d24563d
Merge pull request #60 from B1ue-W01f/fix/environ_correction
Fix/environ correction
2021-07-10 00:28:37 +01:00
Imran Iqbal
55503974e4
ci(3003.1): update inc. AlmaLinux, Rocky & rst-lint [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/335
2021-07-02 00:06:56 +01:00
BlueWolf
d9b2af894a Merge branch 'fix/environ_correction' of https://github.com/B1ue-W01f/prometheus-formula into fix/environ_correction 2021-06-30 05:19:45 +01:00
BlueWolf
ef8a3a9ad7 fix: removed erroneus dash (-)
Dash was incorrectly left alongside squid_exporter entry in
osfamilymap.

Resolves: #59
2021-06-30 05:19:08 +01:00
BlueWolf
076869a8cd fix: added handle for alternative argument opts header
Centos and oraclelinux repositories for prometheus include bespoke headers
in the environment files (e.g. Debian: ARGS=, Centos: PROMETHEUS_OPTS=
ALERTMANAGER_OPTS=). This has been added as a default pillar with osmap
variances.
Additionally archlinux repo install was failing so added basic support -
an issue still remains for the prometheus app itself due to the service
file included in the arch repo hardcoding some config options - resulting
in the possibility to duplicate arguments resulting in a service error.
The prometheus service currently does not start due to permissions not being
applied to a data folder. The added config.storage begins to solve this and
ensures alignment on all platforms but would result in a duplicate config
entry as above. Prometheus on arch therefore needs more work but the exporter
installs now work.

Resolves: #59
2021-06-30 05:16:56 +01:00
BlueWolf
5c1d8b6870 fix: switched test config entry that wasnt available for deb9
The --collector.systemd config argument is unavailable in the
older packages.
The formula handles either scenario so switching the check out from the
test pillar for --log.level=debug instead

Resolved issue identified in pull request check for debian
2021-06-30 05:16:56 +01:00
BlueWolf
0ca247a37e fix: added guidance and reverted incorrected changes from prior commits
Added inspec checks for environment files and specifically prometheus
and node_exporter args. Provided comments throughout the key reference
points for users to signpost the differing approaches to args used along
with more clearly identifying the difference between archive and repo
approach. Tests appear to be working on both approaches though updates
have been focused at repo install method.

Fixes: #59
2021-06-30 05:16:56 +01:00