Commit Graph

29 Commits

Author SHA1 Message Date
Arend Hummeling
9529d5fcfe
fix(archive): make sure special commandline flags are accepted
Attempt to resolve the issue of being unable to pass the
`--storage.tsdb.retention.time` flag.

Signed-off-by: Arend Hummeling <arend@adivare.nl>
2022-02-03 16:25:43 +01:00
noelmcloughlin
9166498fd8 fix(indempotency): run reload onchanges only 2021-07-15 09:13:17 +01:00
chammerton
08ad2caf4c feat(archive): allow command line arguments without values
* If a service.args value is define as null, only render the param (key) in the systemd unit file
2021-05-03 11:17:32 -04:00
lagooj
4e60b17741 feat(archive): managing env vars in systemd unit
* add env pillar under component:name:service
* update systemd template
2021-01-06 22:40:14 +01:00
lagooj
2ff6b90cd8 feat(archive): add support for non official exporters
* add offical pillar true(default) / false
  to use raw source url in component:name:archive:source
* add tar pillar true(default) / false
  to use file instead of tar, some repo provide only the binary
* update archive/install.sls and map.jinja
2020-11-17 12:50:36 +01:00
N
815f4757a9
Merge pull request #50 from lagooj/feat/manage_args
Managed args for archive as upstream
2020-11-12 09:38:58 +00:00
lagooj
7a08e8db54 feat(archive): use args pillar when using upstream from repo / archive 2020-11-11 14:11:15 +01:00
noelmcloughlin
468e420b34 fix(windows): windows has no osarch grain 2020-11-03 10:18:43 +00:00
noelmcloughlin
9abc98274e chore(windows): tentative windows support 2020-10-19 16:25:52 +01: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
noelmcloughlin
d65858a154 fix(permissions): correct basedir user/group 2020-08-18 21:50:52 +01:00
N
ce5b7712c9 refactor(all): align to template-formula; add clientlibs feature
BREAKING CHANGE: 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-05-15 11:12:28 +01:00
Imran Iqbal
341fff36ea
fix: test fix for bug 24 2019-12-12 05:58:56 +00:00
Imran Iqbal
173bc4f348
fix(install.sls): fix salt-lint errors
```bash
Examining prometheus/archive/install.sls of type state
[201] Trailing whitespace
prometheus/archive/install.sls:33
    - source_hash: {{ p.pkg[name]['archive_hash'] }}

[201] Trailing whitespace
prometheus/archive/install.sls:44
```
2019-10-09 18:21:02 +01:00
Imran Iqbal
85c7fceb0d
fix(install.sls): fix salt-lint errors
```bash
Examining prometheus/archive/alternatives/install.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
prometheus/archive/alternatives/install.sls:21
    - name: update-alternatives --install {{ p.dir.basedir }}/{{ name }} prometheus-{{ name }}-home {{ p.dir.basedir }}/{{ bundle }} {{p.linux.altpriority}}

[204] Lines should be no longer that 160 chars
prometheus/archive/alternatives/install.sls:50
    - name: update-alternatives --install /usr/local/bin/{{ b }} prometheus-{{ name }}-{{ b }} {{ p.dir.basedir }}/{{ bundle }}/{{ b }} {{ p.linux.altpriority }}
```
2019-10-09 18:21:02 +01:00
N
8c410d73f8
fix(alternatives): fix requisite 2019-06-26 00:00:40 +01:00
N
58ed85a1f9
chore(alternatives): enable alternatives in pillar.example 2019-06-25 23:50:23 +01:00
N
1a890e5564
fix(suse): bypass salt alternatives.install errors 2019-06-23 17:01:52 +01:00
N
c735a6deea
fix(service): ensure service file is removed on clean 2019-06-23 15:18:40 +01:00
N
149dd817f2
fix(systemd): ensure systemd detects new service 2019-06-23 13:55:08 +01:00
N
a13dd03af1
fix(example): fix pillar.example formatting 2019-06-23 13:28:58 +01:00
N
eda47f71e8
fix(repo): use_upstream_repo corrections; separate users state
BREAKING CHANGE:

The formula has been refactored to accomodate multiple packages,
archives, users, and repos. Update your pillars and top states
2019-06-22 21:46:24 +01:00
N
731198dd4d
test(centos): verified on CentosOS 2019-06-22 17:48:28 +01:00
N
d43033a0fd
feat(archives): user managementX 2019-06-19 02:05:30 +01:00
N
3ec910e7f7
feat(archives): support for various prometheus archives 2019-06-18 10:49:49 +01:00
N
b074bd3dee
test(inspec): expand unittests for archive format 2019-06-16 01:23:52 +01:00
N
1f86f4a27c
feat(archives): support for archives file format
BREAKING CHANGE: the parameter `pkg` is now a dictionary. References
 to `prometheus.pkg` should be changed to `prometheus.pkg.name`.
2019-06-15 01:52:59 +01:00