Commit Graph
21 Commits
Author SHA1 Message Date
Charles N Wyble 688b7190e6 refactor(provisioning): make scripts self-locating and read configs locally
All provisioning scripts and modules now resolve their own location via
BASH_SOURCE and derive PROJECT_ROOT_PATH from it, removing a hard
dependency on the current working directory.

- Derive PROJECT_ROOT_PATH/CONFIGFILES_PATH/MODULES_PATH/SCRIPTS_PATH
  from BASH_SOURCE in SetupNewSystem.sh and every module
- Replace all curl ${DL_ROOT}/... downloads with cat of the matching
  local files under ProjectCode/ConfigFiles (the dl.knownelement.com CDN
  is no longer required for a git clone)
- Invoke modules by absolute path instead of cd ./Modules/X && bash ./x
- Fix secharden-audit-agents.sh: wrong path depth (../../ vs ../../..),
  wrong Project-Includes glob, and ConfigFiles/AudidD -> AuditD typo,
  all of which previously crashed the script
- Remove duplicate FrameworkVars source lines

Run from anywhere with: sudo bash ProjectCode/SetupNewSystem.sh

🤖 Generated with [Crush](https://github.com/charmassociates/crush)

Assisted-by: GLM-5 via Crush <crush@charm.land>
2026-07-25 13:49:39 -05:00
mrcharles 78cc8cbcf3 . 2025-07-14 12:47:40 -05:00
mrcharles 495d0bb03b . 2025-07-14 12:46:53 -05:00
mrcharles 84f3ca3b0e . 2025-07-14 12:38:07 -05:00
mrcharles 5bbaff89e9 refactored to use vendored shell framework. lets test. 2025-07-14 12:34:33 -05:00
mrcharles ba8efdfa0b more ntp fixes 2025-07-02 21:08:39 -05:00
mrcharles 8669b64adc i think this should fix ntp/smtp based on my testing. now to e2e test. 2025-07-02 17:40:01 -05:00
mrcharles 1e3c7a97af . 2025-07-02 17:11:06 -05:00
mrcharles 3207f1a870 . 2025-07-02 17:03:46 -05:00
mrcharles 0041e95d59 . 2025-07-02 17:02:29 -05:00
mrcharles c476f84943 . 2025-07-02 16:59:50 -05:00
mrcharles 38b779f054 OAM final push. graph all the things! 2025-07-02 16:50:45 -05:00
mrcharles 4e3368156c so close now 2025-06-30 14:45:10 -05:00
mrcharles 46020fecf5 weird one... 2025-06-30 14:41:58 -05:00
mrcharles c77d932dd2 moving along nicely... 2025-06-30 14:37:37 -05:00
mrcharles 363c845ead almost... 2025-06-30 14:33:24 -05:00
mrcharles df7f369f8c I think this is it... 2025-06-30 14:30:49 -05:00
mrcharles 1887920f52 . 2025-06-30 14:27:56 -05:00
mrcharles c1791eaa43 paths.... 2025-06-30 14:25:13 -05:00
mrcharles 94eed1ab9d lets see what breaks... 2025-06-30 14:22:43 -05:00
mrcharles 55178257ef OAM. librenms agent stuff. 2025-06-30 13:53:41 -05:00