William Wernert
7b2ec05dbf
[fix] Add missing fi
2021-01-25 19:57:34 -05:00
Mike Reeves
3b1cea94d1
Merge branch 'dev' into telegraf3
2021-01-25 19:36:49 -05:00
Mike Reeves
4ef38f8d04
Add EPS and RAID status collection for telegraf
2021-01-25 19:14:46 -05:00
m0duspwnens
50345628f0
Merge remote-tracking branch 'remotes/origin/dev' into automation/ssh_prompts
2021-01-25 13:48:08 -05:00
m0duspwnens
7dcca6f364
change when we detect os and wait_for_apt when installing sshpass
2021-01-25 13:47:51 -05:00
Mike Reeves
2e32b53158
Fix function for appliances
2021-01-25 13:20:46 -05:00
Mike Reeves
b4c8b439a0
Detect if this is an SOS appliance
2021-01-24 12:02:34 -05:00
Mike Reeves
85e2a14f1e
Put functions in correct order
2021-01-24 11:52:45 -05:00
William Wernert
8023e79020
[fix] Don't remove answer file when checking version on manager, file does not yet exist
2021-01-19 11:28:33 -05:00
William Wernert
650008e1e6
[fix] Replace leftover /root/install_opt strings with variable
2021-01-19 11:20:53 -05:00
William Wernert
32839f8a53
[feat] Various input validation changes + fixes
...
* Keep invalid input in subsequent prompts
* Remove useless placeholder values
* Only set PROCS variable once
* Make input collection loops more consistent
2021-01-15 18:05:29 -05:00
William Wernert
8cb836a17a
[fix] Don't preset HOSTNAME var, interferes with automation
2021-01-15 16:22:07 -05:00
William Wernert
e440f6c44a
[fix] Set variables used by sensor pillar before generating the pillar
2021-01-15 10:29:51 -05:00
William Wernert
ed129bcf1f
[fix] Add verbose flag so that so-monitor-add only sees necessary information
2021-01-15 09:25:04 -05:00
William Wernert
f4de5e28bf
[fix] Padding 3->4 spaces, don't use lookup_pillar before salt is installed
2021-01-15 08:57:14 -05:00
William Wernert
0f6805823e
[fix] Add spacing to whiptail menu + preset err
2021-01-15 08:35:37 -05:00
William Wernert
df07cc578c
[fix] Only update err if return code is non-zero
2021-01-14 13:20:56 -05:00
William Wernert
2e23e0d690
[fix] Only update err if return code is non-zero
2021-01-14 13:20:29 -05:00
William Wernert
a7b9b565fd
[fix] Only return after all interfaces added to bond0
2021-01-14 13:19:29 -05:00
William Wernert
0db439df1e
Merge branch 'dev' into feature/setup
2021-01-14 13:06:32 -05:00
William Wernert
90f085b2d7
[fix] Fail setup early if we can't determine version of manager
2021-01-13 15:57:21 -05:00
William Wernert
4dc3a6aa35
[refactor] Standardize list inputs to comma separated
2021-01-13 11:36:20 -05:00
William Wernert
d254fd960a
[feat] Add message explaining strings cannot contain spaces
2021-01-13 11:04:35 -05:00
William Wernert
ebac17ce38
[wip] Attempting to fix missing patch schedule prompts
2021-01-13 10:29:36 -05:00
m0duspwnens
dbb9f90f00
fix quotes
2021-01-12 14:07:04 -05:00
William Wernert
dd20002fd5
[fix] Dockernet prompt is negative, continue on "no"
2021-01-12 11:28:24 -05:00
William Wernert
5c6f8f9d47
[fix] Correct function call (pt 2)
2021-01-12 11:27:03 -05:00
William Wernert
ff69d022b3
[fix] Correct function call
2021-01-12 11:26:20 -05:00
William Wernert
38e37a0385
[refactor] Remove whiptail shard count prompt
2021-01-12 11:04:40 -05:00
William Wernert
5d077d278e
[feat] Add input validation to inputbox whiptail prompts
2021-01-12 11:02:33 -05:00
m0duspwnens
9405990a2e
remote quotes
2021-01-12 09:50:08 -05:00
m0duspwnens
48f81d9ac6
reduce setting ssh commands down to 1 function and 1 function call
2021-01-06 08:58:33 -05:00
m0duspwnens
0f9bf9deb6
make sshcmd, scpcmd, ssh_copy_id_cmd global to so-functions;
2021-01-05 13:49:51 -05:00
m0duspwnens
c93dfa7b33
hardcode automation pw
2021-01-05 11:47:22 -05:00
m0duspwnens
81c4d879eb
first round of testing for automated testing ssh/scp
2021-01-05 10:26:19 -05:00
William Wernert
9d674d6d3a
[feat] Add so-monitor-add script
2021-01-04 13:35:14 -05:00
William Wernert
0fa001ed92
[fix] Add more logic to network-only process
2021-01-04 09:27:22 -05:00
William Wernert
0a57b78900
[feat] Add option to set up only network on an iso
2020-12-29 12:52:21 -05:00
William Wernert
97466957a7
[fix] Fix text printed to whiptail progress bar
2020-12-28 15:06:03 -05:00
William Wernert
b03408df6b
[fix] Add missing function
2020-12-28 14:30:34 -05:00
William Wernert
4d1cb37468
[feat] Add function to wait for dpkg lock
2020-12-28 09:35:51 -05:00
Wes Lambert
ac96ded2dc
Support setting rule repos via pillar
2020-12-22 15:36:15 +00:00
Mike Reeves
6fcc11eac2
Fix setup
2020-12-17 16:31:25 -05:00
TOoSmOotH
d99596ad06
Fix Docker Settings on new installs
2020-12-17 15:21:29 -05:00
m0duspwnens
2e278586f2
disable steno in so-status for import node
2020-12-16 13:03:24 -05:00
m0duspwnens
81e2b4d572
Merge remote-tracking branch 'remotes/origin/dev' into fix/so-status-import-node
2020-12-16 12:02:39 -05:00
m0duspwnens
96b72d46be
show steno,zeek,suricata as disabled in so-status on import node
2020-12-16 12:01:48 -05:00
William Wernert
9c8fc5e6ed
[fix] Make parent directories if needed
2020-12-16 11:16:14 -05:00
William Wernert
6ba3c16c75
[fix] Actually count containers when checking count
2020-12-16 11:10:57 -05:00
William Wernert
a1fc354a89
[fix] Correct ordering of printf lines
2020-12-16 09:32:36 -05:00