409d736339
explicitly check for absent
to handle state-typos gracefully
2018-10-12 14:05:38 +02:00
Dominique Roux
dd5a45a809
[CONSUL] add newest versions
2018-10-12 11:42:42 +02:00
Darko Poljak
faed292a4e
Rule should be split.
2018-10-10 15:01:03 +02:00
Darko Poljak
7a9dea9754
Improve quoting.
2018-10-10 12:56:48 +02:00
Darko Poljak
610deba454
Improve quoting.
2018-10-10 12:52:50 +02:00
Darko Poljak
8669ccb9c1
Improve shell code.
2018-10-10 12:43:39 +02:00
Darko Poljak
53300b1004
Fix after shellcheck.
2018-10-10 12:43:39 +02:00
Darko Poljak
dcb4395909
Resolve custom remote copy/exec shellcheck (non-)issues.
2018-10-10 12:43:39 +02:00
Darko Poljak
0f31a550cc
Fix SC2012.
2018-10-10 12:43:39 +02:00
Darko Poljak
c58e12a4b9
shellcheck on /files/ scripts.
2018-10-10 12:43:39 +02:00
Nico Schottelius
256c8324a0
Merge branch 'master' of github.com:ungleich/cdist
...
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2018-10-09 19:43:41 +02:00
Darko Poljak
69790ec138
Fix typing error.
2018-10-08 15:43:42 +02:00
Darko Poljak
0458f66c96
Resolve SC2012.
2018-10-08 15:35:29 +02:00
Darko Poljak
ec186673bf
Add TODO markers for SC2012.
2018-10-07 19:48:31 +02:00
Darko Poljak
638ddd95d6
Fix problems found by sellcheck in type explorers.
2018-10-07 19:41:44 +02:00
Darko Poljak
334201b945
Fix remaining shellcheck problems.
2018-10-07 10:22:11 +02:00
Darko Poljak
e9b823bc39
Better fixes.
2018-10-07 10:22:11 +02:00
Darko Poljak
a78baccc82
Fix SC2154. Note: ignoring __<name> vars.
2018-10-07 10:22:11 +02:00
Darko Poljak
a9f27beb98
Fix SC1117.
2018-10-07 10:22:11 +02:00
Darko Poljak
a46016242b
Merge pull request #708 from darko-poljak/shellcheck-various
...
Fix for various problems (shellcheck)
2018-10-06 15:15:38 +02:00
Darko Poljak
f039b0e6e5
Fix SC2030,SC2031.
2018-10-06 08:36:06 +02:00
Darko Poljak
68fad03a6b
Fix SC2120, SC2119.
2018-10-05 15:18:59 +02:00
Darko Poljak
b284bafbee
grep directly on the explorer file
2018-10-05 15:14:03 +02:00
Darko Poljak
02f39bcf6f
Fix SC2028.
2018-10-05 15:08:25 +02:00
Darko Poljak
0d80b4473b
Disable SC2031 for the single incident.
2018-10-05 15:04:22 +02:00
Darko Poljak
bf270b6f9c
Fix SC2044.
2018-10-05 13:05:01 +02:00
Darko Poljak
a369acea72
Fix SC2021.
2018-10-05 12:52:44 +02:00
Darko Poljak
644ec85d80
Fix SC2162.
2018-10-05 12:50:01 +02:00
Darko Poljak
16159d8fca
Fix SC2145.
2018-10-05 12:32:56 +02:00
Darko Poljak
596f3cf227
Disable SC2119,SC2120 where appropriate.
2018-10-05 12:31:05 +02:00
Darko Poljak
9b567ed8f7
Fix SC2230.
2018-10-05 12:27:43 +02:00
Darko Poljak
8cea8e67aa
Disable SC2031 where appropriate.
2018-10-05 12:25:40 +02:00
Darko Poljak
b120a813a2
Disable SC2030 where appropriate.
2018-10-05 12:24:03 +02:00
Darko Poljak
7b17ad4733
Fix SC2143.
2018-10-05 12:21:59 +02:00
Darko Poljak
e46420e7f5
Fix SC1090.
2018-10-05 12:19:16 +02:00
Darko Poljak
2f7b8e6db9
Fix SC2153.
2018-10-05 12:16:27 +02:00
Darko Poljak
73d0a5bbbe
Fix SC2235.
2018-10-05 12:14:51 +02:00
Darko Poljak
73acb35a8a
Fix SC2196.
2018-10-05 12:04:45 +02:00
Darko Poljak
28889ef38a
Disable SC2028 where intended.
2018-10-05 12:02:10 +02:00
Darko Poljak
ed542cc7cb
Fix SC2046.
2018-10-05 11:57:31 +02:00
Darko Poljak
b25aff17c6
Disable SC2039 where appropriate.
2018-10-05 11:49:28 +02:00
Darko Poljak
a601fa91d9
Fix SC2116.
2018-10-05 11:34:10 +02:00
Darko Poljak
3b6d759660
Disable SC2016 check.
2018-10-05 10:32:38 +02:00
Darko Poljak
0cb127822f
Merge pull request #706 from darko-poljak/SC2164
...
Fix SC2164
2018-10-05 10:28:04 +02:00
Darko Poljak
49bb041330
Merge pull request #696 from thriqon/shellcheck-party-SC2086
...
Fix SC2086 on all scripts
2018-10-05 10:26:53 +02:00
Darko Poljak
c01cf38660
Fix SC2164
2018-10-04 23:10:42 +02:00
Darko Poljak
68b6477fe3
Merge pull request #705 from thriqon/shellcheck-party-various
...
Fix various shellcheck issues (SC2215, SC2059, SC2155, SC2091)
2018-10-04 22:39:05 +02:00
Jonas Weber
34b571b7d9
Fix SC2091 (execute result of condition)
...
For some reason, the echo|grep pattern was enclosed four times in a $()
operation. Nothing happened, since grep is always invoked with -q
(quiet, nothing printed to stdout).
2018-10-04 22:23:48 +02:00
Jonas Weber
bcd7fbbcc4
Fix SC2155 (directly export computed variables)
2018-10-04 22:23:48 +02:00
Jonas Weber
a0db375f91
Disable SC2059 (printf injection) for staged_file
...
We're explicitly allowing for 'printf injection' here, so it's ok to
just disable the corresponding shellcheck check.
2018-10-04 22:23:38 +02:00