Commit Graph

199 Commits

Author SHA1 Message Date
William Wernert
ef2bc3bfad [refactor][WIP] Delete so-contstants 2020-04-18 19:10:35 -04:00
William Wernert
3ef3c157f3 [refactor][WIP] Setup changes part 6 2020-04-18 19:10:33 -04:00
Mike Reeves
ea6d78b294 Download Strlka Dockers 2020-04-18 19:04:23 -04:00
William Wernert
2ca8d4ed9e [fix] Add correct PATH location in so-setup 2020-04-18 19:03:05 -04:00
Mike Reeves
4c837c7d15 Apply yum fixes once changes are opk 2020-04-18 19:02:46 -04:00
Josh Brower
4475ebfaa8 Fleet package fixes 2020-04-18 18:59:20 -04:00
m0duspwnens
cca408e2d8 change log_size_limit logic - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/551 2020-04-18 18:58:24 -04:00
m0duspwnens
308ef0fc30 move salt logs to /opt/so/logs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/530 2020-04-18 18:56:32 -04:00
William Wernert
48549cdd83 [fix] NetworkManager dir should not be string 2020-04-18 18:54:41 -04:00
William Wernert
35b5dfd83e [refactor] Move functions used by multiple scripts to separate file 2020-04-18 18:51:58 -04:00
William Wernert
5c3a56a289 [refactor] Start using lower case for variables 2020-04-18 18:50:13 -04:00
William Wernert
ce59019967 [refactor] Move variables to their own file 2020-04-18 18:41:19 -04:00
William Wernert
63fd274106 [Fix] Remove mysql salt dep function calls from so-setup 2020-04-18 18:38:24 -04:00
William Wernert
1ac29c6fbe [refactor] Formatting change to calculate_useable_cores 2020-04-18 18:37:43 -04:00
William Wernert
912fb6d583 [refactor] Generic wait_for_file function 2020-04-18 18:36:52 -04:00
William Wernert
74375fe839 [refactor] More case statements. local vars, and double quoted strings 2020-04-18 18:36:12 -04:00
William Wernert
a7539c111e [refactor] Remove duplicate code in set_hostname 2020-04-18 18:34:04 -04:00
William Wernert
6e4a6ccfeb [refactor] Initial saltify function refactor 2020-04-18 18:32:44 -04:00
William Wernert
b57b1b6689 [refactor] Start using case statements and local vars 2020-04-18 18:29:57 -04:00
William Wernert
f801cbe376 [refactor] Use 0/1 for MASTERUPDATES variable 2020-04-18 18:28:02 -04:00
William Wernert
043f2df7e3 [refactor] Set enabled components in whiptail function 2020-04-18 18:26:27 -04:00
William Wernert
6ca5827ce6 [refactor] Use = instead of ==, more printf changes 2020-04-18 18:23:27 -04:00
William Wernert
076f161c35 [refactor][fix] Cleanup docker_install 2020-04-18 18:19:27 -04:00
William Wernert
2ab1fa75ee [refactor] Rearrange docker_registry seed 2020-04-18 18:18:41 -04:00
William Wernert
a4267fd28b [refactor] Use printf instead of echo to create multiline files 2020-04-18 18:18:08 -04:00
William Wernert
723d8f6f3f [fix] Fix various code formatting issues 2020-04-18 18:17:28 -04:00
William Wernert
b009c2677b [refactor] Generic user create and check password functions 2020-04-18 18:16:11 -04:00
William Wernert
9331ede408 [fix] Double quote variables, fix indents, remove useless cats 2020-04-18 18:14:55 -04:00
William Wernert
ef550fed2b [fix] Networking fixes 2020-04-18 18:10:32 -04:00
Mike Reeves
e1bd8c6d51 Filter out KVM kits so cpu count is correct 2020-04-18 18:09:37 -04:00
William Wernert
6d3bc4ec1d [refactor] grep file instead of piping cat to grep 2020-04-18 18:08:33 -04:00
William Wernert
789173be98 [refactor] Move collect_webuser_inputs to so-functions 2020-04-18 18:07:50 -04:00
William Wernert
586d231ab1 [refactor] Copy public keys instead of using HEREDOC 2020-04-18 18:07:11 -04:00
William Wernert
2127924066 [fix] Double quote variables + fix indents 2020-04-18 18:06:30 -04:00
William Wernert
56326026b7 [refactor] Add variable to whiptail functions for quiet install
This is an initial change to allow for automated installs and testing.
The variable `QUIET` is checked in all whiptail functions and they are
skipped if the variable is set.

Closes #526
2020-04-07 15:24:36 -04:00
Jason Ertel
b7545c8dc5 Improve default SKIP_BOND behavior 2020-04-03 14:59:09 -04:00
Jason Ertel
b57892e806 Remove debug line 2020-04-03 14:50:07 -04:00
Jason Ertel
99e8226ae5 Validate email and password for the webuser during install 2020-04-03 12:04:42 -04:00
Wes Lambert
b22a3a6534 install Strelka for sensor 2020-04-03 01:36:00 +00:00
William Wernert
1e94961665 [fix] Bond NICs array expansion 2020-04-02 20:49:19 -04:00
William Wernert
baa5dba199 [fix] Network functions
* Rename network-manager.service references to NetworkManager for compatibility
* Fix array expansion in function to disable unused NICs
2020-04-02 20:47:19 -04:00
Mike Reeves
f9377a9d39 Fix error in sudoers file 2020-04-02 19:42:24 -04:00
Mike Reeves
1b6222a04b Fix Password Bug for SOREMOTE 2020-04-02 18:01:39 -04:00
Mike Reeves
4c112453eb Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-02 16:56:52 -04:00
Mike Reeves
ffe3ae7d70 Update soremote process 2020-04-02 16:56:28 -04:00
Jason Ertel
f2ceaf074b Switch from auth_pillar to secrets_pillar 2020-04-02 16:11:05 -04:00
Mike Reeves
4368bebbd5 Merge pull request #503 from Security-Onion-Solutions/feature/soremote
Feature/soremote
2020-04-02 15:13:28 -04:00
Mike Reeves
fffe1ef720 Add soremote user 2020-04-02 11:51:39 -04:00
Jason Ertel
a25c16508f Renamed auth pillar to secrets pillar; removed remnants from old auth saltstack 2020-04-02 11:24:13 -04:00
Mike Reeves
c0f143d7f5 Add Epel earlier for argon2 2020-04-02 09:45:02 -04:00