Commit Graph

544 Commits

Author SHA1 Message Date
Michael Stanclift
c229d5e12e No changes detected 2020-06-29 13:04:38 -05:00
Michael Stanclift
06338d6a77 Comparison logic 2020-06-29 12:57:13 -05:00
Michael Stanclift
339d5a456f Mark hashes 2020-06-29 09:25:14 -05:00
Michael Stanclift
37fd78858d Import last hashes 2020-06-29 09:21:50 -05:00
Michael Stanclift
75eb9c7695 Write hashes from log out 2020-06-29 08:47:09 -05:00
Michael Stanclift
f7a1ec367e Building out smart sync 2020-06-28 22:23:43 -05:00
Michael Stanclift
2842eea71e 0 to disable 2020-06-22 10:35:42 -05:00
Michael Stanclift
33d71dc7c8 range 2020-06-22 10:34:20 -05:00
Michael Stanclift
459c714f2d nevermind 2020-06-22 10:33:24 -05:00
Michael Stanclift
016dc64cf2 skip the checks 2020-06-22 10:32:45 -05:00
Michael Stanclift
5bb0a1012a Cronexist=0 2020-06-22 10:30:49 -05:00
Michael Stanclift
e27a93905a comments 2020-06-22 10:27:30 -05:00
Michael Stanclift
c0e4880467 more specific 2020-06-22 10:20:38 -05:00
Michael Stanclift
45fba8428f out to files 2020-06-22 10:19:54 -05:00
Michael Stanclift
f7eeb41d97 space? 2020-06-22 10:17:28 -05:00
Michael Stanclift
d20e22bb68 cron exist 2020-06-22 10:16:44 -05:00
Michael Stanclift
cacedf20fa then 2020-06-22 10:14:49 -05:00
Michael Stanclift
3179d31512 sed 2020-06-22 10:14:01 -05:00
Michael Stanclift
d7c6b62271 1-30 2020-06-22 10:10:24 -05:00
Michael Stanclift
dd379e7ae5 Remove existing cron 2020-06-22 10:04:48 -05:00
Michael Stanclift
2915a8c49e input 2020-06-22 09:54:29 -05:00
Michael Stanclift
d2f14f63c3 -gt 2020-06-22 09:52:03 -05:00
Michael Stanclift
d434485b2c Add dev version output 2020-06-22 09:45:35 -05:00
Michael Stanclift
52e547fa4f 1.8.3 2020-06-22 09:42:04 -05:00
Michael Stanclift
e233a42daa 1.8.2 2020-06-11 21:35:20 -05:00
Michael Stanclift
e725363595 Fix for no custom.list locally not replicating 2020-06-11 21:24:12 -05:00
Michael Stanclift
f908739ae1 Remove esc check 2020-06-11 21:08:13 -05:00
Michael Stanclift
1f3aac8142 Hide output 2020-06-03 18:14:16 -05:00
Michael Stanclift
db546425ff Check for sudo ability 2020-06-03 18:12:07 -05:00
Michael Stanclift
64afbd4e8d 1.8.1 2020-06-03 15:52:36 -05:00
Michael Stanclift
c8207a48e1 Root function 2020-06-03 15:47:20 -05:00
Michael Stanclift
71827c613a Must not run as root 2020-06-03 15:45:41 -05:00
Michael Stanclift
0ff690a2f0 check for root 2020-06-03 15:43:36 -05:00
Michael Stanclift
99e04ffa08 1.8.0(1) 2020-06-03 15:15:45 -05:00
Michael Stanclift
3810b67808 Back to awk 2020-06-03 15:12:39 -05:00
Michael Stanclift
44f9f70cef Some day I'll understand how quotes work in bash 2020-06-03 15:09:26 -05:00
Michael Stanclift
8c4b3a1268 sed instead of awk 2020-06-03 15:06:03 -05:00
Michael Stanclift
2616ab5987 Remove unconditional connection 2020-06-03 14:53:09 -05:00
Michael Stanclift
136a818d69 Regression 2020-06-03 14:47:40 -05:00
Michael Stanclift
13d91792e0 Silence dbclient 2020-06-03 14:44:49 -05:00
Michael Stanclift
2fcaeb4428 Clean up key registration output 2020-06-03 14:38:50 -05:00
Michael Stanclift
1ab2a4ffe9 Rewrite SSH key generation 2020-06-03 14:30:33 -05:00
Michael Stanclift
bdb770ef60 TRY THIS 2020-06-03 14:07:36 -05:00
Michael Stanclift
aac13988d7 I will make this work 2020-06-03 14:06:53 -05:00
Michael Stanclift
3073063f93 Maybe not? 2020-06-03 14:04:52 -05:00
Michael Stanclift
23f390f4ab Fewer 2020-06-03 13:58:58 -05:00
Michael Stanclift
be2881d629 Dropbear key creation update 2020-06-03 13:58:05 -05:00
Michael Stanclift
e359ef7365 Rework Ssh-keygen option order 2020-06-03 13:31:29 -05:00
Michael Stanclift
8601137799 Silence SSH keygen 2020-06-03 13:26:00 -05:00
Michael Stanclift
ff97527661 Remove old code comments 2020-06-03 13:07:15 -05:00
Michael Stanclift
f75a045f87 Replace SSH commands 2020-06-03 09:45:06 -05:00
Michael Stanclift
8cfdd15392 Rewrite SSH function 2020-06-03 09:20:35 -05:00
Michael Stanclift
89740497e9 error validate 2020-06-03 00:11:02 -05:00
Michael Stanclift
529789a4c1 Fuck quotes 2020-06-03 00:09:34 -05:00
Michael Stanclift
af11f11a6b Duh 2020-06-03 00:07:54 -05:00
Michael Stanclift
54efb9858a PLEASE 2020-06-02 23:49:43 -05:00
Michael Stanclift
5b6e4a5990 Test 2020-06-02 23:42:08 -05:00
Michael Stanclift
abb50c135a BLAH 2020-06-02 23:33:16 -05:00
Michael Stanclift
a13d8ba887 I HATE THIS 2020-06-02 23:32:32 -05:00
Michael Stanclift
60d676b8ff Test 2020-06-02 23:31:20 -05:00
Michael Stanclift
ba6980c558 Test 2020-06-02 23:29:33 -05:00
Michael Stanclift
2e6fc960d7 Comment output 2020-06-02 23:28:14 -05:00
Michael Stanclift
33078e2018 Remove a slash 2020-06-02 23:27:11 -05:00
Michael Stanclift
2662a7e852 Double quote? 2020-06-02 23:18:37 -05:00
Michael Stanclift
411a401b07 Quites? 2020-06-02 23:12:29 -05:00
Michael Stanclift
beb9e8513f Rsync rewrite test 2020-06-02 23:09:46 -05:00
Michael Stanclift
e3f6925bbf remove quotes 2020-06-02 21:19:36 -05:00
Michael Stanclift
480cf29b07 Comment out 2020-06-02 21:18:53 -05:00
Michael Stanclift
ec5171f352 Grrr 2020-06-02 21:15:35 -05:00
Michael Stanclift
71133d4acd More quotes 2020-06-02 21:09:26 -05:00
Michael Stanclift
dc20d24d65 QUotes? 2020-06-02 21:08:05 -05:00
Michael Stanclift
9d64fa9a65 Test 2020-06-02 21:04:02 -05:00
Michael Stanclift
ab9fced32d Simpler than I thought? 2020-06-02 21:00:31 -05:00
Michael Stanclift
84a7189858 Put the echo back 2020-06-02 20:58:47 -05:00
Michael Stanclift
6b6ab7619c Remove testing echo 2020-06-02 20:56:59 -05:00
Michael Stanclift
4c8b76c15f Preserve status on timeout 2020-06-02 20:55:17 -05:00
Michael Stanclift
e48353724f Change function call position 2020-06-02 20:51:16 -05:00
Michael Stanclift
e436c8bd5e Test output of command 2020-06-02 20:47:36 -05:00
Michael Stanclift
fdeb2be94f Comment the entire block 2020-06-02 20:46:34 -05:00
Michael Stanclift
fc030ba9bf Devnull 2020-06-02 20:45:25 -05:00
Michael Stanclift
92269fe4c3 Test new SSH function 2020-06-02 20:44:46 -05:00
Michael Stanclift
b4cc029d7e Break up SSHPASS 2020-06-02 17:27:49 -05:00
Michael Stanclift
b86106d7e3 Better colors 2020-06-02 15:48:26 -05:00
Michael Stanclift
4f5c38c389 Fix bug where password not used 2020-06-02 15:45:44 -05:00
Michael Stanclift
0bbadbf166 Change reference 2020-06-02 15:26:25 -05:00
Michael Stanclift
d48cc54b77 Stray else 2020-06-02 14:58:12 -05:00
Michael Stanclift
920099044f And then 2020-06-02 14:55:05 -05:00
Michael Stanclift
98daf0a893 Better process handling 2020-06-02 14:54:09 -05:00
Michael Stanclift
2f21bddd94 Cleanup SSHPASS prompts 2020-06-02 14:51:11 -05:00
Michael Stanclift
cf7bc4a798 Validate log export 2020-06-02 11:55:35 -05:00
Michael Stanclift
e45fde8e8a Less chatty about file validation 2020-06-02 11:52:07 -05:00
Michael Stanclift
37705f066f Even better way to show dev 2020-06-02 11:33:00 -05:00
Michael Stanclift
a5497b5cd9 Better way to show dev branch 2020-06-02 11:32:38 -05:00
Michael Stanclift
6e86e4dc4d Show dev branch on update 2020-06-02 11:31:07 -05:00
Michael Stanclift
4f7987a372 Cleanup analyzing output 2020-06-02 11:27:46 -05:00
Michael Stanclift
1a00f1e57c Less chatty about replication validation 2020-06-02 11:23:21 -05:00
Michael Stanclift
c0c4009825 Better way to check validation 2020-06-02 11:07:51 -05:00
Michael Stanclift
abc3273f55 Less chatty during validation 2020-06-02 11:03:57 -05:00
Michael Stanclift
eb864a614b Adds invalid task 2020-06-02 10:46:02 -05:00
Michael Stanclift
be5afa2d7b Move script_start to very first line 2020-06-02 10:44:16 -05:00
Michael Stanclift
5ba9da0f3b Move more tasks to the stack 2020-06-02 10:42:19 -05:00
Michael Stanclift
2d07e6dbd9 Add alias for more functions 2020-06-02 10:36:59 -05:00
Michael Stanclift
cbbf18bb60 Change tasktype output 2020-06-02 10:18:51 -05:00
Michael Stanclift
7af4055d1f Silence ping output 2020-06-02 10:05:43 -05:00
Michael Stanclift
8e8e3dd062 Use standard error_val 2020-06-02 10:02:03 -05:00
Michael Stanclift
0bf6831bb5 Output if bypassed 2020-06-02 09:47:48 -05:00
Michael Stanclift
47d71fd821 Ping Test on configure input 2020-06-02 09:43:58 -05:00
Michael Stanclift
87fdf10d38 Merge branch 'development' of https://github.com/vmstan/gravity-sync into development 2020-06-01 21:04:14 -05:00
Michael Stanclift
b8288d3393 Clean up 2020-06-01 21:04:09 -05:00
Michael Stanclift
176604a4f8
Merge pull request #31 from vmstan:development
1.7.6
2020-06-01 15:53:28 -05:00
Michael Stanclift
ef82f47773 1.7.6(1) 2020-06-01 15:52:35 -05:00
Michael Stanclift
0c604685c7 Fix backup custom.list if not already created 2020-06-01 15:45:44 -05:00
Michael Stanclift
b7e31b61c3 Fix to pull custom.list 2020-06-01 15:38:07 -05:00
Michael Stanclift
19d4c9c744 WARN headers are purple 2020-06-01 15:27:36 -05:00
Michael Stanclift
8836be495d sed 's/\s.*$//' 2020-06-01 15:17:01 -05:00
Michael Stanclift
7a1d5c46d4 >/dev/null 2>&1 inside 2020-06-01 14:24:12 -05:00
Michael Stanclift
5f3df0b663 >/dev/null 2>&1 2020-06-01 14:23:31 -05:00
Michael Stanclift
62794740c3 apt-get 2020-06-01 14:20:50 -05:00
Michael Stanclift
2a578a62bd Less iffy 2020-06-01 13:54:14 -05:00
Michael Stanclift
3fe515a4e4 Fing " 2020-06-01 13:53:12 -05:00
Michael Stanclift
4e4ddd56d1 Maybe " 2020-06-01 13:50:58 -05:00
Michael Stanclift
f1cac14713 Extra then 2020-06-01 13:47:36 -05:00
Michael Stanclift
eac8a746e2 fi 2020-06-01 13:46:39 -05:00
Michael Stanclift
24c2425b7f then 2020-06-01 13:45:37 -05:00
Michael Stanclift
9c35387106 Cleanup Dropbear Notice 2020-06-01 13:45:16 -05:00
Michael Stanclift
8a62f79059 I hate bash 2020-06-01 13:36:47 -05:00
Michael Stanclift
7a01524cb1 Less ; 2020-06-01 13:33:43 -05:00
Michael Stanclift
1f1aead6d4 fi; 2020-06-01 13:30:43 -05:00
Michael Stanclift
5cc7c305d9 extra echo for dbclient 2020-06-01 13:29:50 -05:00
Michael Stanclift
df82e8d6d0 Check for dbclient on validation 2020-06-01 13:08:18 -05:00
Michael Stanclift
da66934939 Output to .pub 2020-06-01 12:33:50 -05:00
Michael Stanclift
10c1c78545 Define method to extract .pub key for dropbear 2020-06-01 12:29:08 -05:00
Michael Stanclift
e18a4f6fdc ecdsa 2020-06-01 10:53:24 -05:00
Michael Stanclift
071332c77b move dropbear pub file creation 2020-06-01 10:51:38 -05:00
Michael Stanclift
67de66aa23 elif 2020-06-01 10:45:52 -05:00
Michael Stanclift
58e0b87001 fi 2020-06-01 10:45:37 -05:00
Michael Stanclift
d8ca2380ce Use dropbearkey to send keyfile is needed 2020-06-01 10:43:55 -05:00
Michael Stanclift
34d43eb238 Detect .ssh folder and create if needed 2020-06-01 10:26:45 -05:00
Michael Stanclift
e1180e7395 Removing a > 2020-06-01 10:16:36 -05:00
Michael Stanclift
62fc232205 Attempt to install ssh-client if not found 2020-06-01 10:13:01 -05:00
Michael Stanclift
0928a7a0be Testing for dbclient 2020-06-01 10:00:01 -05:00
Michael Stanclift
d6c5e100f4
Merge pull request #30 from vmstan:development
1.7.5
2020-05-31 14:41:57 -05:00
Michael Stanclift
a8884ab475 1.7.5 2020-05-31 14:41:20 -05:00
Michael Stanclift
be4a4de247
Merge pull request #28 from vmstan:development
1.7.4
2020-05-30 23:26:14 -05:00
Michael Stanclift
5e3b06e9cf Less bold 2020-05-30 23:22:37 -05:00
Michael Stanclift
50e0996f20 NC 2020-05-30 23:20:34 -05:00
Michael Stanclift
9778318e66 Make the entire info block yellow 2020-05-30 23:17:36 -05:00
Michael Stanclift
cd443f1306 Verbs 2020-05-30 23:14:29 -05:00
Michael Stanclift
3f4c0ee754 Yellow status 2020-05-30 23:09:21 -05:00
Michael Stanclift
b549f7d891 sudo 2020-05-30 23:02:21 -05:00