Commit Graph

556 Commits

Author SHA1 Message Date
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
Michael Stanclift
7ea83a607b Fix restore of custom.list 2020-05-30 22:59:03 -05:00
Michael Stanclift
6015bb1972 Exit with change 2020-05-30 22:47:03 -05:00
Michael Stanclift
e16a3c4d84 No warning 2020-05-30 22:46:22 -05:00
Michael Stanclift
f8d6c0021b Remove beta function 2020-05-30 22:44:57 -05:00
Michael Stanclift
1e85db3bd0 Comment out might break 2020-05-30 22:44:30 -05:00
Michael Stanclift
00ee682b0b Quotes 2020-05-30 22:43:59 -05:00
Michael Stanclift
b29a53b238 Applying update 2020-05-30 22:42:57 -05:00
Michael Stanclift
ad72568e35 Validate Git completion 2020-05-30 22:42:37 -05:00
Michael Stanclift
5055366bc2 AND THEN 2020-05-30 22:37:36 -05:00
Michael Stanclift
df42d91c8b Check git status before update 2020-05-30 22:37:06 -05:00
Michael Stanclift
cfd49f7566 Clean up, clean up, everybody cleanup 2020-05-30 22:28:57 -05:00
Michael Stanclift
e1a7b9329c Tighten up verbage 2020-05-30 22:16:42 -05:00
Michael Stanclift
01ff343fba Bold! 2020-05-30 22:08:47 -05:00
Michael Stanclift
a9975d0630 Slightly less verbose 2020-05-30 22:06:31 -05:00
Michael Stanclift
b70aa3ad3d OK instead of GOOD 2020-05-30 21:58:25 -05:00
Michael Stanclift
4aaeda32f4 2>/dev/null 2020-05-30 21:35:23 -05:00
Michael Stanclift
7ac49933b4 distrocheck 2020-05-30 21:33:54 -05:00
Michael Stanclift
210cd53a1c Another try 2020-05-30 21:29:01 -05:00
Michael Stanclift
b8359ae505 apt install quieter 2020-05-30 21:23:02 -05:00
Michael Stanclift
385ef3812c Attempt to install ssh and rsync 2020-05-30 21:01:24 -05:00
Michael Stanclift
c63507c6c3 HOSTNAME 2020-05-30 20:52:01 -05:00
Michael Stanclift
028fee30dd Check for rsync too 2020-05-30 20:42:55 -05:00
Michael Stanclift
cf80241c9e Else in wrong place 2020-05-30 20:40:33 -05:00
Michael Stanclift
21f25e00a2 Adds SSH detection 2020-05-30 20:39:28 -05:00
Michael Stanclift
67df5dd266 Look for SSH 2020-05-30 20:37:59 -05:00
Michael Stanclift
d71b901e58 sudo 2020-05-30 20:26:43 -05:00
Michael Stanclift
d7817aa3e4 hashycorp 2020-05-30 20:25:02 -05:00
Michael Stanclift
b52423cba7 AND THEN 2020-05-30 20:22:59 -05:00
Michael Stanclift
d767b4bd81 and THEN 2020-05-30 20:21:24 -05:00
Michael Stanclift
7e64129e49 Detect SSH-Keygen method 2020-05-30 20:20:06 -05:00
Michael Stanclift
e54a01ecb6 1.7.4 2020-05-30 16:39:19 -05:00
Michael Stanclift
0ee951503a flip it 2020-05-30 16:28:22 -05:00
Michael Stanclift
99cc5428eb Add dev mode 2020-05-30 16:23:02 -05:00
Michael Stanclift
30cb6a8b03
Merge pull request #27 from vmstan/development
1.7.3
2020-05-30 09:24:52 -05:00
Michael Stanclift
d2ddd1b05a Cleaning up argument list output 2020-05-30 00:06:54 -05:00
Michael Stanclift
bde9b3b673
Merge pull request #25 from vmstan/development
1.7.2
2020-05-29 21:40:18 -05:00
Michael Stanclift
ebab06dcd7 1.7.2(1) 2020-05-29 21:39:01 -05:00
Michael Stanclift
4ec550026b 1.7.2 2020-05-29 21:38:00 -05:00
Michael Stanclift
dc9696c5ac Different method of updating with developer settings 2020-05-29 21:28:22 -05:00
Michael Stanclift
4cb6370436
Update gravity-sync.sh 2020-05-29 21:16:42 -05:00
Michael Stanclift
9c95116ee7 1.7.1 2020-05-29 21:13:52 -05:00
Michael Stanclift
69cda511aa Make it BOLD 2020-05-29 21:09:37 -05:00
Michael Stanclift
e4ee005953 Border 2020-05-29 21:06:07 -05:00
Michael Stanclift
8d1789613d Add website 2020-05-29 21:04:11 -05:00
Michael Stanclift
55d443f37b Colors for version IDs 2020-05-29 21:01:52 -05:00
Michael Stanclift
7b92b90580 Testing failure conditions 2020-05-29 20:54:09 -05:00
Michael Stanclift
0b3653fe2d Failure detection for curl 2020-05-29 20:53:28 -05:00
Michael Stanclift
46784159e3 master version check 2020-05-29 18:20:33 -05:00
Michael Stanclift
c51753d388 Updated show version 2020-05-29 18:09:48 -05:00
Michael Stanclift
b813d21492 Output version on Git 2020-05-29 18:07:38 -05:00
Michael Stanclift
2bf3d0b8ba 1.7.0 2020-05-29 14:43:36 -05:00
Michael Stanclift
6157889ac4 Add references to custom.list 2020-05-29 14:39:54 -05:00
Michael Stanclift
9c6a8bfa8d "" 2020-05-29 14:20:24 -05:00
Michael Stanclift
affe98e82a Fineto 2020-05-29 14:19:07 -05:00
Michael Stanclift
711ad97979 space 2020-05-29 14:15:04 -05:00
Michael Stanclift
c35642e5e7 Adding custom.list to restore function 2020-05-29 14:08:56 -05:00
Michael Stanclift
45fd9ed58b Add custom.list to push 2020-05-29 14:03:18 -05:00
Michael Stanclift
3816e14173 == 2020-05-29 13:51:59 -05:00
Michael Stanclift
569bce284e Fix permission validation 2020-05-29 13:51:12 -05:00
Michael Stanclift
810e28aa0e Add custom.list bypass to pull function 2020-05-29 13:46:23 -05:00
Michael Stanclift
a6e3fd89a5 Merge branch 'development' of https://github.com/vmstan/gravity-sync into development 2020-05-29 13:37:50 -05:00
Michael Stanclift
5bf02b9d25 Merge 2020-05-29 13:37:35 -05:00
Michael Stanclift
89e0edb456 add skip custom variable 2020-05-29 12:18:40 -05:00
Michael Stanclift
ca4e99cb1e Check existance of remote custom.list 2020-05-29 11:31:38 -05:00
Michael Stanclift
3e0d06617e Verify existance of custom.list 2020-05-29 11:03:20 -05:00
Michael Stanclift
e1adcd1105 Compare custom.list 2020-05-29 10:58:06 -05:00
Michael Stanclift
a38afd0d3a 1.6.0 2020-05-28 22:01:08 -05:00
Michael Stanclift
b18af38add cleanup 2020-05-28 21:50:29 -05:00
Michael Stanclift
bb453c0ce9 Verification bypass mechanism 2020-05-28 21:43:58 -05:00
Michael Stanclift
f86b857997 Moved intent validation to a function 2020-05-28 21:28:14 -05:00
Michael Stanclift
bea46fa3fb remove dashes 2020-05-28 17:51:48 -05:00
Michael Stanclift
ad45d17791 Redo config delete dialog 2020-05-28 17:29:41 -05:00
Michael Stanclift
88e30377e3 Change push confirmation method 2020-05-28 17:24:31 -05:00
Michael Stanclift
24662dd16d variable name 2020-05-28 17:12:05 -05:00
Michael Stanclift
f9127fdcd6 Yank 2020-05-28 17:10:51 -05:00
Michael Stanclift
263f1ce67d Add yank function 2020-05-28 17:09:58 -05:00
Michael Stanclift
6a9ab25613 Fix 2020-05-28 16:51:41 -05:00
Michael Stanclift
6dfd835988 Replace all the echos 2020-05-28 16:50:25 -05:00
Michael Stanclift
e08022cfe1 Moving each status type to a function 2020-05-28 16:21:10 -05:00
Michael Stanclift
7f51e3013e 1.5.0 (3) 2020-05-28 13:19:49 -05:00
Michael Stanclift
379ef900d0 Fixes way cronpath is assigned 2020-05-28 13:05:22 -05:00
Michael Stanclift
1d5fecc249 1.5.0 (2) 2020-05-28 12:57:40 -05:00
Michael Stanclift
dcb02f84b1 1.5.0 2020-05-28 12:55:59 -05:00
Michael Stanclift
c2233d5dfa Differences 2020-05-28 12:49:00 -05:00
Michael Stanclift
2cbfc9d8bd Line up minutes some more 2020-05-28 11:50:39 -05:00
Michael Stanclift
73e2b7f282 line up minutes 2020-05-28 11:48:34 -05:00
Michael Stanclift
0b480f58cd Change style of extend info block 2020-05-28 11:46:54 -05:00
Michael Stanclift
343c44b09a Exit on failed frequency input 2020-05-28 11:43:24 -05:00