Effectively passing a multi word organization to the install script would break and only register the first word.
This is due to shell quoting compounded by a script calling another script.
Fix
Use the old way of calling scripts.
(Note: there's probably a better way to do this, but I'm choosing not to fight *sh space/quoting/IFS issues)
Amend Addigy logging statements, since multiple scripts end up writing to the same log.
Testing
Effectively comment out curl commands and modify the HuntressMacInstall.sh to exit after creating the hagent.yml
run POLICY_PATH="Fireline Partners | Anchor Point IT Solutions" zsh -x ./InstallHuntress-macOS-Addigy.sh
validate that the org name includes "Fireline Partners"
There are other files that also need to be update (Ninja, Kaseya, etc).
I intend to follow up with another PR that will address those in a similar way
Problem
Effectively passing a multi word organization to the install script would break and only register the first word. This is due to shell quoting compounded by a script calling another script.
Fix
Testing
curl
commands and modify theHuntressMacInstall.sh
to exit after creating the hagent.ymlPOLICY_PATH="Fireline Partners | Anchor Point IT Solutions" zsh -x ./InstallHuntress-macOS-Addigy.sh
There are other files that also need to be update (Ninja, Kaseya, etc). I intend to follow up with another PR that will address those in a similar way