Arnaud Patard
7d680a1a60
feat(config): allow differents options for server and pool
Pool and server configuration may have different options but it's not
currently possible.
In order to solve that, the template is changed to accept pool
or server specification as a dictionnary, specifying at least the
pool/server name and if wanted the pool/server options. If no options
are specified, it'll use chrony.options.
In order to not break anything the template is checking if the server/pool
specification is a dictionnary or not, and acts accordingly.
Fixes : #27
Signed-off-by: Arnaud Patard <apatard@hupstream.com>
3 lat temu
Imran Iqbal
5bbe1e858e
ci(kitchen+gitlab): remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/331
3 lat temu
Imran Iqbal
e2d84b8a08
chore(pre-commit): use `info` report level for `rstcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/325
3 lat temu
Imran Iqbal
808d4289eb
ci: add `arch-master` to matrix and update `.travis.yml` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/323
3 lat temu
Imran Iqbal
66a465c3aa
ci(kitchen+gitlab): adjust matrix to add `3003` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/318
3 lat temu
semantic-release-bot
9d8fc67508
chore(release): 1.2.5 [skip ci]
## [1.2.5](https://github.com/saltstack-formulas/chrony-formula/compare/v1.2.4...v1.2.5 ) (2021-04-22)
### Bug Fixes
* restart service after config change ([#36 ](https://github.com/saltstack-formulas/chrony-formula/issues/36 )) ([20873d0
](20873d0220
))
### Tests
* standardise use of `share` suite & `_mapdata` state [skip ci] ([e2d97f9
](e2d97f9cc7
))
3 lat temu
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 lat temu
Imran Iqbal
5cd854b651
chore: update `CODEOWNERS` & `.yamllint` re: `kitchen-vagrant` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/310
3 lat temu
Imran Iqbal
e2d97f9cc7
test: standardise use of `share` suite & `_mapdata` state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
3 lat temu
semantic-release-bot
a360058294
chore(release): 1.2.4 [skip ci]
## [1.2.4](https://github.com/saltstack-formulas/chrony-formula/compare/v1.2.3...v1.2.4 ) (2021-03-10)
### Continuous Integration
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([6174b14
](6174b14686
))
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([71fb3e1
](71fb3e1927
))
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([34532e6
](34532e632d
))
* **pre-commit:** update hook for `rubocop` [skip ci] ([bb42c1b
](bb42c1b823
))
### Documentation
* **uyuni:** add metadata and form yaml files ([7a0dbdb
](7a0dbdba58
))
* **uyuni:** fix service name ([808d63b
](808d63b120
))
* **uyuni:** fix yamllint issues ([f489cd0
](f489cd0f21
))
* **uyuni:** update form.yml with more options ([a6501ea
](a6501ea049
))
### Tests
* **config_spec:** fix for Gentoo ([18039a9
](18039a9aac
))
3 lat temu
Imran Iqbal
2ddfac14b9
Merge pull request #35 from aboe76/master
feat(susemanager): add metadata for susemanager
3 lat temu
Niels Abspoel
f489cd0f21
docs(uyuni): fix yamllint issues
3 lat temu
Niels Abspoel
808d63b120
docs(uyuni): fix service name
3 lat temu
Niels Abspoel
a6501ea049
docs(uyuni): update form.yml with more options
3 lat temu
Niels Abspoel
7a0dbdba58
docs(uyuni): add metadata and form yaml files
Uyuni project (susemanager) has the ability to ingest salt-formulas but
in order to do this it requires a metadata folder with metadata.yml and
form.yml
see: https://www.uyuni-project.org/uyuni-docs/uyuni/salt/formulas-custom.html
3 lat temu
Imran Iqbal
71fb3e1927
ci(kitchen+ci): use latest pre-salted images (after CVE) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/299
3 lat temu
Imran Iqbal
80b87b8582
chore(yamllint): add `.git/` to ignores [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/297
3 lat temu
Daniel Dehennin
519ba1c281
chore(rubocop): allow use of `YAML.load` for `_mapdata.rb` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
3 lat temu
Dafydd Jones
fa069fbf71
chore(shellcheck): switch hook for `shellcheck` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/295
3 lat temu
Imran Iqbal
6174b14686
ci(gemfile+lock): use `ssf` customised `kitchen-docker` repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/294
3 lat temu
Imran Iqbal
34532e632d
ci(kitchen+gitlab-ci): use latest pre-salted images [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/293
3 lat temu
Imran Iqbal
18039a9aac
test(config_spec): fix for Gentoo
3 lat temu
Imran Iqbal
0a9baf60f4
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
3 lat temu
Imran Iqbal
bb42c1b823
ci(pre-commit): update hook for `rubocop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/290
3 lat temu
semantic-release-bot
5b94708886
chore(release): 1.2.3 [skip ci]
## [1.2.3](https://github.com/saltstack-formulas/chrony-formula/compare/v1.2.2...v1.2.3 ) (2020-12-24)
### Bug Fixes
* **osfamilymap:** fix openSUSE NTP servers ([828e12f
](828e12f7b4
))
### Continuous Integration
* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([25bea74
](25bea74bf0
))
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([95e6ee3
](95e6ee3e57
))
3 lat temu
Imran Iqbal
71ccc4a514
Merge pull request #34 from bmwiedemann/opensuse
Fix openSUSE NTP servers
3 lat temu
Bernhard M. Wiedemann
828e12f7b4
fix(osfamilymap): fix openSUSE NTP servers
3 lat temu
Imran Iqbal
25bea74bf0
ci(commitlint): ensure `upstream/master` uses main repo URL [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/278
3 lat temu
Imran Iqbal
95e6ee3e57
ci(gitlab-ci): add `rubocop` linter (with `allow_failure`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/277
3 lat temu
semantic-release-bot
6fb31ef79c
chore(release): 1.2.2 [skip ci]
## [1.2.2](https://github.com/saltstack-formulas/chrony-formula/compare/v1.2.1...v1.2.2 ) (2020-12-16)
### Bug Fixes
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([264151d
](264151d1cb
))
* **release.config.js:** use full commit hash in commit link [skip ci] ([9122f1a
](9122f1a486
))
### Continuous Integration
* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([92fcb44
](92fcb44337
))
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([c3d1b91
](c3d1b917ac
))
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([b9e269e
](b9e269e965
))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([28c7470
](28c7470600
))
* **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([62a2819
](62a2819b8d
))
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([5e6f085
](5e6f085fd4
))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([cc33b93
](cc33b93a58
))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([85b8bc7
](85b8bc7700
))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([b336538
](b3365386aa
))
* **pre-commit:** add to formula [skip ci] ([1d979af
](1d979af015
))
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([3ecb741
](3ecb7415ab
))
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([f876619
](f876619876
))
* **travis:** add notifications => zulip [skip ci] ([de6cc9e
](de6cc9e235
))
* **travis:** apply changes from build config validation [skip ci] ([95928da
](95928da597
))
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([2e68bca
](2e68bcad91
))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([c426c62
](c426c62301
))
* **travis:** run `shellcheck` during lint job [skip ci] ([66a147d
](66a147df78
))
* **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([3668973
](3668973688
))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([2d2bf7a
](2d2bf7a8f7
))
* **travis:** use build config validation (beta) [skip ci] ([a21bf73
](a21bf73c8d
))
* **workflows/commitlint:** add to repo [skip ci] ([de7860d
](de7860d74c
))
### Documentation
* **contributing:** remove to use org-level file instead [skip ci] ([eae8e87
](eae8e87c8b
))
* **readme:** update link to `CONTRIBUTING` [skip ci] ([16e6cb8
](16e6cb8279
))
### Performance Improvements
* **travis:** improve `salt-lint` invocation [skip ci] ([5f0e77f
](5f0e77f93a
))
### Styles
* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([f43da51
](f43da517a7
))
3 lat temu
Imran Iqbal
b9e269e965
ci(gitlab-ci): use GitLab CI as Travis CI replacement
* Automated using https://github.com/myii/ssf-formula/pull/275
3 lat temu
Imran Iqbal
0364bf1ae6
chore(gemfile+lock): update to latest gem versions (2020-W44) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/274
4 lat temu
Imran Iqbal
20292256c6
chore(gemfile+lock): update to latest gem versions (2020-W43) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/273
4 lat temu
Imran Iqbal
f876619876
ci(pre-commit): finalise `rstcheck` configuration [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/267
4 lat temu
Dafydd Jones
f9971f5b10
chore(commitlint): add `{body,footer,header}-max(-line)-length` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/265
4 lat temu
Imran Iqbal
5ca4d3bd93
chore(gemfile+lock): update to latest gem versions (2020-W41) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/263
4 lat temu
Imran Iqbal
3ecb7415ab
ci(pre-commit): enable/disable `rstcheck` as relevant [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/262
4 lat temu
Dafydd Jones
1d979af015
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
4 lat temu
Imran Iqbal
f43da517a7
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
4 lat temu
Imran Iqbal
273543f37d
chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
4 lat temu
Imran Iqbal
bf3f08e010
chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
4 lat temu
Imran Iqbal
207b982da4
chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
4 lat temu
Imran Iqbal
cc33b93a58
ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
4 lat temu
Imran Iqbal
80e7c1d38e
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
4 lat temu
Imran Iqbal
21b96fc385
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
4 lat temu
Imran Iqbal
719abcc48d
chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
4 lat temu
Imran Iqbal
de6cc9e235
ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
4 lat temu
Imran Iqbal
7a360e5598
chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
4 lat temu
Imran Iqbal
fdf35ba774
chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
4 lat temu
Imran Iqbal
de7860d74c
ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
4 lat temu