Severin Schols
20873d0220
fix: restart service after config change ( #36 )
* fix: restart service after config change
When chrony was already installed, the service currently does not get
restarted when the config file is changed. I added a "watch" option to
the service.running state to ensure it gets a restart when we adapt the
configuration.
* fix: replace require completely with watch to ensure service restart
Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
pirms 3 gadiem
Imran Iqbal
e2d97f9cc7
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
pirms 3 gadiem
Bernhard M. Wiedemann
828e12f7b4
fix(osfamilymap): fix openSUSE NTP servers
pirms 4 gadiem
Imran Iqbal
f43da517a7
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
pirms 4 gadiem
Imran Iqbal
264151d1cb
fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
pirms 4 gadiem
Patrick Kummutat
098efd4e75
Fixed package cleanup
pirms 5 gadiem
Imran Iqbal
fb1a4ec853
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.6.0)
pirms 5 gadiem
Imran Iqbal
f83a4988b6
feat(yamllint): include for this repo and apply rules throughout
* Semi-automated using `ssf-formula` (v0.5.0)
* Fix errors shown below:
```bash
chrony-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:")
pillar.example
1:1 warning missing document start "---" (document-start)
21:3 warning comment not indented like content (comments-indentation)
```
pirms 5 gadiem
Imran Iqbal
96a59e20ff
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
pirms 5 gadiem
Imran Iqbal
b48eff7f85
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
pirms 5 gadiem
kkeane
90cdeeab34
fix: add pool option
pirms 5 gadiem
kkeane
a2a3aa7ede
feat: fix default values
pirms 5 gadiem
Kolin Keane
8a05d0f686
feat: update chrony formula to new template
BREAKING CHANGE: `chrony.removed` replaced by `.clean` states.
pirms 5 gadiem
Imran Iqbal
e5741eefad
test(inspec): get tests passing
* Run `chrony.config` as workaround
- `.config` not called by `chrony`
* Disable `fedora` for the time being due to `systemd` issue
- Refusing to accept PID outside of service control group,
acquired through unsafe symlink chain: /var/run/chrony/chronyd.pid
pirms 5 gadiem
N
a35ec9271d
Fix rendering problem on Ubuntu18.04
pirms 5 gadiem
Mark Gomersbach
5139e81a1b
Add Gentoo default vars in osmap
pirms 6 gadiem
Noel McLoughin
b17001b177
Hide salt stdout [ERROR] if grep rc=1
pirms 7 gadiem
Noel McLoughin
0d3b871f01
using 'include .init' does not resolve/render on Centos7
pirms 7 gadiem
Theo Chatzimichos
e9701d94f8
fix syntax error
pirms 7 gadiem
Rossen Georgiev
13efcbc79a
replace hardcoded paths with slspath variable
Allows the use of gitfs mountpoint and renaming hte folder without
the need to manually update any of the paths
pirms 7 gadiem
Noel McLoughlin
a1ff71b962
Add osmapping,defaults for modular parms
pirms 7 gadiem
Niels Abspoel
7424476057
fix archlinux map.jinja
pirms 7 gadiem
Andreas Thienemann
fb582f1545
Add chrony.removed state to uninstall package
When calling chrony.removed salt ensures the service is stopped
and the package has been removed.
pirms 7 gadiem
omltorg
b31ba941ba
Added defaults for ArchLinux in map.jinja
pirms 8 gadiem
mraymond77
26fb719c2f
Seperated file.managed state from chrony/init.sls
pirms 9 gadiem
mraymond77
51b18c59f4
Added default config parameters for Debian and RHEL to map.jinja
pirms 9 gadiem
mraymond77
fc5f2aead1
Created config state, added chrony/config.sls
pirms 9 gadiem
mraymond77
278329745f
First commit
pirms 9 gadiem