Commit Graph

22 Commits

Author SHA1 Message Date
lagooj
7a08e8db54 feat(archive): use args pillar when using upstream from repo / archive 2020-11-11 14:11:15 +01: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