Adding the enrollment status to knapsack will allow us to e.g. inform the browser of device enrollment status during initial setup. For now, I've added it to the host checkup.
I also adjusted the enroll secret checkup slightly to use the configured default paths available via pkg/launcher, and to use the enroll secret path via knapsack if available.
Relates to https://github.com/kolide/launcher/issues/1473
Adding the enrollment status to knapsack will allow us to e.g. inform the browser of device enrollment status during initial setup. For now, I've added it to the host checkup.
I also adjusted the enroll secret checkup slightly to use the configured default paths available via pkg/launcher, and to use the enroll secret path via knapsack if available.