]>
gerrit.mcp Code Review - salt-formulas/ntp.git/log
summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Denis Egorenko [Tue, 14 Jan 2020 10:14:24 +0000 (14:14 +0400)]
Add setuptools requirement for version below 45.0.0
Versions of setuptools from 45.0.0 dropped python2 support.
Related-Prod: PROD-34533
Change-Id: Id583dbdd3d128937821086a4779acacb64fe5e8f
Ivan Berezovskiy [Mon, 25 Nov 2019 09:40:58 +0000 (13:40 +0400)]
Keep only default -g option for ntp daemon
PROD-34110
Change-Id: Ie95df130f001277ade27b6b1c9ead475806e799e
Ivan Berezovskiy [Thu, 14 Nov 2019 10:32:29 +0000 (14:32 +0400)]
Add ability to configure NTPD_OPTS in /etc/default/ntp
PROD-33448
Change-Id: Iedeefb9e32e5886c051e838a758f9e13a76cccf3
Martin Polreich [Tue, 15 Oct 2019 12:29:06 +0000 (14:29 +0200)]
Formulas testing revision 2019/10
Related: PROD-32744
Related: PROD-33698
Change-Id: Id92d188719144a90c2d46901544d747208d3227a
Jesse Pendergrass [Tue, 2 Jul 2019 16:36:12 +0000 (11:36 -0500)]
Add test case for custom interface parameters
- update test pillars
- update schemas
Related Prod: PROD-30096
Change-Id: I5796bee1226d725a857f70c2ed874999d58b3994
Stanislav Riazanov [Mon, 25 Mar 2019 13:42:22 +0000 (17:42 +0400)]
Adding ability to operate with interface parameter
Since NTP uses UDP it listen for ports even in client mode.
This patch adds the ability to manage interfaces for listening from
client pillar also.
Added support for enabling mode7 from client pillar
Prod-related: #PROD-28867 (PROD:28867)
Prod-related: #PROD-28576 (PROD:28576)
Change-Id: I67b4a07dc47e24bf69c180a3b5e3d93dd1cf2808
Martin Polreich [Tue, 26 Feb 2019 12:14:56 +0000 (13:14 +0100)]
Drop testing of SaltStack 2016.3
Change-Id: Ifbc2a04a735b15a488efdd62b995be552967e47f
Related: PROD-27314 (PROD:27314)
Martin Polreich [Tue, 8 Jan 2019 14:03:40 +0000 (15:03 +0100)]
Drop Travis CI support
Fixes: PROD-25037 (PROD:25037)
Change-Id: I7e4404d317c2aee54586f58bf10b15499de85eb7
Pavel Cizinsky [Wed, 12 Dec 2018 11:02:47 +0000 (12:02 +0100)]
Updating reference from github to gerrit
- Changing Maintainer to dev@mirantis.com
Related: PROD-25327 (PROD:25327)
Change-Id: I787c4c94b944e03ef7a435c49d30ae66c9dc7e45
Martin Polreich [Tue, 20 Nov 2018 14:09:41 +0000 (15:09 +0100)]
Move to Mirantis owned docker images for tests
- This is a temporary solution until we have our own images
Fixes: PROD-24956 (PROD:24956)
Change-Id: I4b637a921ee95a9182001b0ee07d7909581e971d
Martin Polreich [Wed, 7 Nov 2018 13:44:08 +0000 (14:44 +0100)]
Update Gemfile and Makefile configuration
- One Gemfile for all formulas tests
- Update Makefile for OpenStack tests
Fixes: PROD-24408 (PROD:24408)
Change-Id: I5d28dc72716cb773197957e083659a624ab7bd99
Martin Polreich [Wed, 24 Oct 2018 10:03:12 +0000 (12:03 +0200)]
Freeze inspec version for salt-formulas tests
- in inspec >= 3.0.0 there are changes in schema
which require to have tests/integration dir
to contain tests, otherwise fails
- this is temporary workaround until we decide
proper fix
Change-Id: I97a17bafe579abb893832d00e1e3d58aacd13538
Dmitry Teselkin [Thu, 5 Jul 2018 08:33:45 +0000 (11:33 +0300)]
Fix CIS 2.2.1.2
Nessus requires that 'restrict' lines contain arguments in a specific order.
Non-compliant file(s)
---------------------
/etc/ntp.conf - regex '^[\s]*restrict[\s]+-4[\s][^:]' found
expect '^[\s]*restrict[\s]+-4[\s]+default[\s]+kod[\s]+nomodify[\s]+notrap[\s]+nopeer[\s]+noquery[\s]*$' not found in the following lines:
15: restrict -4 default kod notrap nomodify nopeer noquery
Solution
--------
Add or edit restrict lines in /etc/ntp.conf to match the following:
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
Change-Id: Ie26b56d85c9e6aac1526f991c676e5cca75ef00d
Jiri Broulik [Tue, 10 Jul 2018 12:28:06 +0000 (12:28 +0000)]
Merge "Fix Python version for Travis CI tests"
vitalygusev [Tue, 3 Jul 2018 08:22:18 +0000 (12:22 +0400)]
Fix typo in dashboard name
Related-PROD: PROD-21140
Change-Id: Ic98adea38801534be0993d2e9eea0dc813521bc4
Michal Kobus [Mon, 2 Jul 2018 09:58:18 +0000 (11:58 +0200)]
Dashboard rework and adding monitoring to ntpd process
Change-Id: If6ceab74d6ceffc5873bb9c44b0cfa5f2e1306ef
Closes-bug: PROD-21110
Martin Polreich [Thu, 21 Jun 2018 13:30:36 +0000 (15:30 +0200)]
Fix Python version for Travis CI tests
Change-Id: Iee3d328fae0165faea0e00c0116206d046ec74f4
OlgaGusarenko [Tue, 19 Jun 2018 08:29:32 +0000 (11:29 +0300)]
Cleans up the NTP's readme file
Change-Id: I938ef172bd2f17ab6f4781a7320ee442eb6cbbe0
Michal Kobus [Fri, 8 Jun 2018 12:06:35 +0000 (14:06 +0200)]
Cosmetic changes for alerts
Change-Id: I383a0be89138be10b24fe7b651eac903ecda8397
Closes-bug: PROD-20466
azvyagintsev [Wed, 30 May 2018 17:02:03 +0000 (20:02 +0300)]
Add remove_ntp_dhcp option
* Those option are WA for
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600661
WA needed for extremly rare situatuon, when network dhcp provide wrong
ntp.
* Those option make sence to use only with dropping 'ntp-servers' request
from dhclient.conf - unless, you totally remove dhcp client from system
* Misc: update run_tests.sh to latest
Change-Id: I8818eed3541f1d7bfc073cc05d8df48d124b812e
Petr Michalec [Thu, 17 May 2018 13:14:05 +0000 (13:14 +0000)]
Merge "Add Salt 2018.3 tests"
Richard Felkl [Thu, 17 May 2018 12:22:15 +0000 (12:22 +0000)]
Merge "Alerts reworked"
Michal Kobus [Wed, 9 May 2018 11:21:17 +0000 (13:21 +0200)]
Alerts reworked
Change alerts names, severities and descriptions.
Change-Id: I17be8effbcd482cd56d384e3afd912e586bda370
Closes-bug: PROD-19841
Oleksii Chupryn [Mon, 14 May 2018 07:52:47 +0000 (10:52 +0300)]
Add posibility to configure logfile param
Change-Id: Iac37132f89dab9b489b864070022c5ddc926d006
Martin Polreich [Wed, 25 Apr 2018 12:09:58 +0000 (14:09 +0200)]
Add Salt 2018.3 tests
Change-Id: I3e525871c553f1477223b7aaf7f1d357176b1917
Dmitry Teselkin [Mon, 19 Feb 2018 19:37:34 +0000 (22:37 +0300)]
CIS 2.2.1.2 compliance
CIS 2.2.1.2 requres a specific flags to be set by default.
These flags are the following:
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
The -4 in the first line is optional and options after default can
appear in any order. Additional restriction lines may exist.
This request makes ntp.conf configuration compliant with CIS 2.2.1.2
CIS Benchmark: https://goo.gl/FcLKL4 (Ubuntu 16.04)
Change-Id: I8fc4917918bd604706b59342bfa658996825231d
Related-Prod: PROD-17289
Ondrej Smola [Fri, 6 Apr 2018 08:49:23 +0000 (08:49 +0000)]
Merge "Update metadata.yml with correct URL"
Oleh Hryhorov [Thu, 5 Apr 2018 12:14:23 +0000 (15:14 +0300)]
Fix metaspaces in metadata
Change-Id: I16be69147d18c077a0c2c0721665d7f5adb9da4c
Ondrej Smola [Wed, 4 Apr 2018 10:16:05 +0000 (12:16 +0200)]
added auth to ntp formula
Change-Id: Ida54379a126ff1c43517bbe489f3fb591e89c004
Petr Michalec [Thu, 29 Mar 2018 06:26:00 +0000 (08:26 +0200)]
Update metadata.yml with correct URL
Change-Id: Ib456b9be5a9911aae8544541c23734d98990c96d
Martin Polreich [Wed, 21 Feb 2018 13:03:47 +0000 (14:03 +0100)]
Use new image for kitchen tests
Change-Id: I873a2b439aca6a2ac377edb54f8c4e690485ebfd
Filip Pytloun [Thu, 15 Feb 2018 14:13:13 +0000 (15:13 +0100)]
Update Makefile
Jakub Josef [Thu, 8 Feb 2018 12:22:18 +0000 (13:22 +0100)]
Fixed shebang kernel limitation with virtualenv during test run (https://github.com/pypa/virtualenv/issues/596)
Change-Id: I2725d0e0754fed6f0732d9ef5c47adccc3a248cf
Filip Pytloun [Mon, 15 Jan 2018 12:13:36 +0000 (12:13 +0000)]
Merge "Remove salt-master, reclass from pkg dependencis"
Petr Michalec [Wed, 10 Jan 2018 09:39:35 +0000 (09:39 +0000)]
Merge "Optimize kitchen tests for Travis CI"
Petr Michalec [Tue, 9 Jan 2018 08:10:41 +0000 (09:10 +0100)]
Remove salt-master, reclass from pkg dependencis
Change-Id: Idf0b0df88ed6b480ef1939e538ff01cb8bb32dd4
Martin Polreich [Fri, 5 Jan 2018 12:28:15 +0000 (13:28 +0100)]
Optimize kitchen tests for Travis CI
Change-Id: Ib3e4186e140495f59f62099d5c428d647ca2bdda
Jakub Josef [Fri, 15 Dec 2017 15:58:30 +0000 (16:58 +0100)]
Fixed typo in run_tests.sh file
Change-Id: If192b4c41c4ad136b9890810a46ddb083ac33ce2
azvyagintsev [Fri, 8 Dec 2017 14:46:09 +0000 (16:46 +0200)]
Enable run_model_validate tests
* Alligh Makefile and run_tests.sh to latest
* Link modules
* Fix server-stratum schema
EME-19
Change-Id: I98ef59436994a6f79ad595bc3c7fe0a8909cf4c0
Ales Komarek [Wed, 15 Nov 2017 15:40:10 +0000 (16:40 +0100)]
The initial formula metadata schema definition proposition
Change-Id: Ic6f925d1bcfc63f2d8a71d032f6a2208f1b65444
Ildar Svetlov [Thu, 14 Sep 2017 12:55:11 +0000 (16:55 +0400)]
Disable dns_lookup for NTP Telegraf input plugin
Sometimes output of 'ntpq -p' is dirty and can't be parsed by
Telegraf plugin. There will be run 'ntpq -np' after this change by
default.
Change-Id: I1fa8650e65bb3774d86a23ba04b6f9b5a3e0de87
Martin Polreich [Fri, 1 Sep 2017 09:35:24 +0000 (11:35 +0200)]
Fix name in .kitchen.travis.yml file
Change-Id: I99a732da5f0a0d2f5f2dfd0e5a1c701fc2687282
Martin Polreich [Thu, 24 Aug 2017 16:36:41 +0000 (18:36 +0200)]
Update .travis.yml and .kitchen.yml files for parallel testing
Change-Id: Ia17287314688ff5d917ef133320337346b1c3c97
Ildar Svetlov [Wed, 16 Aug 2017 09:21:28 +0000 (13:21 +0400)]
Add Grafana dashboard for NTP
Change-Id: Ia21e0fad1fd14cb69f09fc3a9253d4ad00e239eb
Ildar Svetlov [Mon, 14 Aug 2017 06:31:34 +0000 (10:31 +0400)]
Add and activate NTP telegraf input
Change-Id: I652f1b09bf37cd90f4b17636591cf7eb983e8040
Ildar Svetlov [Thu, 17 Aug 2017 12:31:23 +0000 (16:31 +0400)]
Add Prometheus alerts
Change-Id: I6ebbebcf754db7aec82d3ee4ae87034d9ef267d4
Dennis Dmitriev [Thu, 6 Jul 2017 18:07:28 +0000 (21:07 +0300)]
Update run_tests.sh to the latest revision
Change-Id: I3e0a62b07ab2af227e44432b792a0582eb255fb3
Filip Pytloun [Wed, 17 May 2017 14:38:15 +0000 (16:38 +0200)]
Merge pull request #13 from stelucz/jinja-processing-fix
Jinja processing fix for pillar data
stelucz [Wed, 17 May 2017 13:51:00 +0000 (15:51 +0200)]
Jinja processing fix for pillar data
Filip Pytloun [Tue, 16 May 2017 07:21:06 +0000 (09:21 +0200)]
Merge pull request #12 from stelucz/add-ntp-server-options
Add ntp server peer and tos orphan option
stelucz [Mon, 15 May 2017 14:10:13 +0000 (16:10 +0200)]
Add ntp server peer and tos orphan option
Simon Pasquier [Tue, 9 May 2017 10:13:15 +0000 (12:13 +0200)]
Disable Sensu support by default
Change-Id: I52a5f73f80a031323597762487f179cafef0f6de
Filip Pytloun [Wed, 19 Apr 2017 14:57:46 +0000 (16:57 +0200)]
Merge pull request #11 from vkhalin/master
changes to separate server and client and generate proper conf file
Valentyn Khalin [Wed, 19 Apr 2017 14:34:10 +0000 (17:34 +0300)]
used kitchen to debug failed travisci tests. Commited new changes
Valentyn Khalin [Wed, 19 Apr 2017 10:12:42 +0000 (13:12 +0300)]
add changes to tests to have travis passed. Will debug deeper it if it fail
Valentyn Khalin [Wed, 19 Apr 2017 09:32:24 +0000 (12:32 +0300)]
changes to separate server and client and generate proper conf file
Filip Pytloun [Tue, 4 Apr 2017 13:34:28 +0000 (15:34 +0200)]
Merge pull request #9 from Martin819/master
Added Kitchen tests and Travis
Martin Polreich [Tue, 28 Mar 2017 15:07:37 +0000 (17:07 +0200)]
Update .travis.yml and notififcations
Filip Pytloun [Tue, 28 Mar 2017 11:44:34 +0000 (13:44 +0200)]
Merge pull request #10 from salt-formulas/pr_add_nopeer_option
add nopeer option
Petr Michalec [Tue, 28 Mar 2017 08:45:52 +0000 (10:45 +0200)]
add nopeer option
Martin819 [Fri, 24 Mar 2017 14:38:59 +0000 (15:38 +0100)]
Added Kitchen tests and Travis
Petr Michalec [Fri, 24 Mar 2017 12:09:44 +0000 (13:09 +0100)]
Merge pull request #8 from tomkukral/patch-1
fix missing ntp variable error, LGTM
Tomáš Kukrál [Fri, 24 Mar 2017 12:05:51 +0000 (13:05 +0100)]
fix missing ntp variable error
It fails with:
```
----------
ID: /etc/ntp.conf
Function: file.managed
Result: False
Comment: Unable to manage file: Jinja variable 'ntp' is undefined
Started: 11:58:05.396994
Duration: 37.777 ms
Changes:
```
Petr Michalec [Thu, 23 Mar 2017 12:41:30 +0000 (13:41 +0100)]
add ntp server support (#2)
Filip Pytloun [Thu, 2 Feb 2017 12:02:03 +0000 (13:02 +0100)]
Unify Makefile, .gitignore and update readme
Aleš Komárek [Mon, 28 Nov 2016 09:16:19 +0000 (10:16 +0100)]
Merge pull request #7 from tcpcloud/stacklight
Stacklight
Aleš Komárek [Mon, 28 Nov 2016 09:14:18 +0000 (10:14 +0100)]
Merge pull request #6 from elemoine/revert
Revert "Stacklight (#5)"
Éric Lemoine [Mon, 28 Nov 2016 07:06:59 +0000 (07:06 +0000)]
Revert "Stacklight (#5)"
This reverts commit
f89e779d4fd71d6744898cf893e25d33347579a9 .
Aleš Komárek [Fri, 25 Nov 2016 16:20:19 +0000 (17:20 +0100)]
Stacklight (#5)
* Stacklight
* Add a flag to enable mode7
collectd failed to monitor ntpd on Xenial servers because it uses mode7
requests but newer ntpd releases (4.2.7p230 and later) disable this mode
by default for security reasons. Even though the ntpd configuration only
allows queries from the 127.0.0.1 address, mode7 requests aren't enabled
for safety unless the user model explicitly says so.
Aleš Komárek [Fri, 25 Nov 2016 14:15:31 +0000 (15:15 +0100)]
Merge pull request #4 from simonpasquier/stacklight
Merge master into stacklight
Simon Pasquier [Thu, 24 Nov 2016 16:10:41 +0000 (17:10 +0100)]
Merge remote-tracking branch 'upstream/master' into stacklight
Filip Pytloun [Wed, 16 Nov 2016 08:57:20 +0000 (09:57 +0100)]
Merge pull request #3 from tcpcloud/kitchen-ci
add CI/reharsial tests
Petr Michalec [Tue, 15 Nov 2016 23:27:36 +0000 (00:27 +0100)]
add kitchen ci
Aleš Komárek [Tue, 8 Nov 2016 14:34:09 +0000 (15:34 +0100)]
Merge pull request #1 from simonpasquier/enable-mode7-for-collectd
Enable mode7 explicitly
Simon Pasquier [Mon, 7 Nov 2016 09:31:24 +0000 (10:31 +0100)]
Add a flag to enable mode7
collectd failed to monitor ntpd on Xenial servers because it uses mode7
requests but newer ntpd releases (4.2.7p230 and later) disable this mode
by default for security reasons. Even though the ntpd configuration only
allows queries from the 127.0.0.1 address, mode7 requests aren't enabled
for safety unless the user model explicitly says so.
Ales Komarek [Wed, 19 Oct 2016 14:04:54 +0000 (16:04 +0200)]
Stacklight
Ales Komarek [Tue, 4 Oct 2016 22:26:42 +0000 (00:26 +0200)]
Collector name
Ales Komarek [Tue, 4 Oct 2016 22:21:25 +0000 (00:21 +0200)]
Provide default params
Ales Komarek [Tue, 4 Oct 2016 22:08:43 +0000 (00:08 +0200)]
Collectd metering cleanup
Filip Pytloun [Thu, 30 Jun 2016 20:29:15 +0000 (22:29 +0200)]
Add collectd and sensu meta
Filip Pytloun [Thu, 14 Apr 2016 14:39:28 +0000 (16:39 +0200)]
Fix source dependency parsing
Filip Pytloun [Thu, 14 Apr 2016 12:11:52 +0000 (14:11 +0200)]
Add missing Makefile
Filip Pytloun [Thu, 14 Apr 2016 10:46:30 +0000 (12:46 +0200)]
Fix tests dependency fetch
Filip Pytloun [Thu, 14 Apr 2016 09:57:49 +0000 (11:57 +0200)]
Add salt-master into build depends
Filip Pytloun [Thu, 14 Apr 2016 09:51:09 +0000 (11:51 +0200)]
Add makefile, run tests during package build
Adam Tengler [Tue, 26 Jan 2016 12:33:02 +0000 (13:33 +0100)]
Metadata yaml + gitignore fix
Adam Tengler [Tue, 26 Jan 2016 12:19:02 +0000 (13:19 +0100)]
Gitignore file
Adam Tengler [Tue, 26 Jan 2016 10:56:27 +0000 (11:56 +0100)]
NTP client tests
vmikes [Fri, 23 Oct 2015 14:25:26 +0000 (16:25 +0200)]
update ntp strata host
Filip Pytloun [Tue, 6 Oct 2015 14:28:32 +0000 (16:28 +0200)]
Initial commit