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>
3 anni fa
Imran Iqbal
e2d97f9cc7
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
3 anni fa
Bernhard M. Wiedemann
828e12f7b4
fix(osfamilymap): fix openSUSE NTP servers
3 anni fa
Imran Iqbal
f43da517a7
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
4 anni fa
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
4 anni fa
Patrick Kummutat
098efd4e75
Fixed package cleanup
5 anni fa
Imran Iqbal
fb1a4ec853
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.6.0)
5 anni fa
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)
```
5 anni fa
Imran Iqbal
96a59e20ff
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
5 anni fa
Imran Iqbal
b48eff7f85
chore: use `semantic-release` cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
5 anni fa
kkeane
90cdeeab34
fix: add pool option
5 anni fa
kkeane
a2a3aa7ede
feat: fix default values
5 anni fa
Kolin Keane
8a05d0f686
feat: update chrony formula to new template
BREAKING CHANGE: `chrony.removed` replaced by `.clean` states.
5 anni fa
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
5 anni fa
N
a35ec9271d
Fix rendering problem on Ubuntu18.04
5 anni fa
Mark Gomersbach
5139e81a1b
Add Gentoo default vars in osmap
6 anni fa
Noel McLoughin
b17001b177
Hide salt stdout [ERROR] if grep rc=1
6 anni fa
Noel McLoughin
0d3b871f01
using 'include .init' does not resolve/render on Centos7
7 anni fa
Theo Chatzimichos
e9701d94f8
fix syntax error
7 anni fa
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
7 anni fa
Noel McLoughlin
a1ff71b962
Add osmapping,defaults for modular parms
7 anni fa
Niels Abspoel
7424476057
fix archlinux map.jinja
7 anni fa
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.
7 anni fa
omltorg
b31ba941ba
Added defaults for ArchLinux in map.jinja
8 anni fa
mraymond77
26fb719c2f
Seperated file.managed state from chrony/init.sls
9 anni fa
mraymond77
51b18c59f4
Added default config parameters for Debian and RHEL to map.jinja
9 anni fa
mraymond77
fc5f2aead1
Created config state, added chrony/config.sls
9 anni fa
mraymond77
278329745f
First commit
9 anni fa