0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-28 03:27:50 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
Nicolas Rodriguez
496f09b2e1 style(state): avoid complicated comparison 2020-09-10 04:06:20 +02:00
Imran Iqbal
82cd0a7f3a
test(saltcheck): add test for cron envs (absent & present) 2019-11-03 17:58:43 +00:00
Gino Naumann
12cee12227 feat(cron.env): add env option in cron-formula 2019-11-03 18:18:07 +01:00
Imran Iqbal
6e54c3f406
refactor(saltcheck): use root-level saltcheck-tests directory 2019-10-23 19:02:17 +01:00
Imran Iqbal
ee652363ff
refactor(saltcheck): relocate .tst files according to 1:1 .sls files
* https://github.com/saltstack-formulas/cron-formula/pull/4#issuecomment-544140377
2019-10-23 19:02:17 +01:00
Imran Iqbal
7e9e619a37
fix(saltcheck): replace map.jinja references with InSpec conditionals 2019-10-23 19:02:16 +01:00
Imran Iqbal
18585bdc90
refactor(config): minimise and standardise between .sls & .tst 2019-10-23 19:02:16 +01:00
Imran Iqbal
cce5e67c33
test(saltcheck): avoid map.jinja, use the test pillar instead 2019-10-17 20:12:23 +01:00
Imran Iqbal
50706119fa
test(saltcheck): test for commented and not commented 2019-10-17 19:49:00 +01:00
Imran Iqbal
007970f935
test(saltcheck): add support for random values 2019-10-17 19:44:50 +01:00
Imran Iqbal
a0f891e012
refactor(jinja): used shortened form of |default filter 2019-10-17 19:27:23 +01:00
Imran Iqbal
951a95980a
test(pillar): ensure special is being tested as well 2019-10-16 00:24:32 +01:00
Imran Iqbal
33f344c3ba
style(saltcheck): merge absent & present into one if block 2019-10-15 23:04:46 +01:00
Imran Iqbal
6f2b32355a
test(saltcheck): test for special in config.tst as well 2019-10-15 23:04:46 +01:00
Imran Iqbal
652ebff734
refactor(config): remove duplication in using a loop 2019-10-15 23:04:46 +01:00
Imran Iqbal
72281c7905
test(saltcheck): remove duplication in config.tst using a loop 2019-10-15 23:04:46 +01:00
Imran Iqbal
5cdc50f521
test(saltcheck): add test for service.running 2019-10-15 23:04:46 +01:00
Imran Iqbal
226eb88078
test(saltcheck): add test for service.available 2019-10-15 23:04:46 +01:00
Imran Iqbal
88229f08bd
style(saltcheck): use consistent order of assertions 2019-10-15 22:01:18 +01:00
Imran Iqbal
8abec548c1
style(config.tst): rearrange Jinja statements for clarity 2019-10-15 22:01:18 +01:00
Imran Iqbal
aada0ae835
fix(saltcheck): remove trailing spaces 2019-10-15 06:01:26 +01:00
Imran Iqbal
9225b18202
test(saltcheck): fix config tests 2019-10-15 06:01:26 +01:00
Imran Iqbal
677c956de4
fix(saltcheck): fix invalid service test 2019-10-15 06:01:26 +01:00
Imran Iqbal
d2c95440e4
refactor(saltcheck): use package.tst instead of install.tst
* Make consistent with the actual states
2019-10-15 06:01:26 +01:00
Imran Iqbal
26cfa4f6c4
fix(saltcheck): update for cron instead of cron_settings 2019-10-15 05:24:12 +01:00
Imran Iqbal
8845b3c50f
test(saltcheck): use local map.jinja to workaround missing tpldata 2019-10-15 05:22:33 +01:00
Imran Iqbal
7911b716e8
fix(saltcheck): fix broken import and standardise across test files 2019-10-15 05:22:14 +01:00
Christian McHugh
9847aff516
test(saltcheck): add first tests 2019-10-15 05:21:04 +01:00
Imran Iqbal
a9968e329c
fix(platform): add support for Arch 2019-10-15 02:16:06 +01:00
Nicolas Rodriguez
e00c316ebe refactor(pillar): sync map.jinja with template-formula 2019-08-28 03:12:18 +02:00
Imran Iqbal
8ee7ffa282
fix(quotes): remove single quotes causing issues (or unnecessary)
* Allow single quotes to be used in commands and comments, e.g.:
  - /usr/bin/salt '*' test.ping >/root/salt_test_ping
2019-03-31 00:58:35 +00:00
Imran Iqbal
2d1f7c2601
style(jinja): use Jinja whitespace control 2019-03-30 23:10:19 +00:00
Imran Iqbal
0eaf78c627
style(whitespace): base on multiples of 2 rather than 4 2019-03-30 23:06:08 +00:00
Imran Iqbal
e4185f4add
fix(iteritems): replace with items instead 2019-03-30 22:57:23 +00:00
Karsten Kosmala
e78279a293
enclose parameters in quotes
... to allow statements like */10 or *
2018-03-06 16:15:19 +01:00
Bernhard M. Wiedemann
64b9f32147 Add SUSE support
covering both openSUSE and SUSE Linux Enterprise versions
2017-08-30 14:43:42 +02:00
David Seira
898ddff892 Fix: added month section 2017-07-28 02:30:26 +02:00
David Seira
c6c2a1dfd8 Initial commit 2017-07-28 01:43:45 +02:00