install fleetd on DEP enrolled hosts during enrollment (#10971)

https://github.com/fleetdm/fleet/issues/9459
This commit is contained in:
Roberto Dip
2023-04-05 20:52:26 -03:00
committed by GitHub
parent 12b79d5e46
commit 40c5bb1c25
9 changed files with 144 additions and 8 deletions
+2 -1
View File
@@ -535,7 +535,8 @@ the way that the Fleet server works.
nanoMDMLogger := service.NewNanoMDMLogger(kitlog.With(logger, "component", "apple-mdm-push"))
pushProviderFactory := buford.NewPushProviderFactory()
mdmPushService = nanomdm_pushsvc.New(mdmStorage, mdmStorage, pushProviderFactory, nanoMDMLogger)
mdmCheckinAndCommandService = service.NewMDMAppleCheckinAndCommandService(ds)
commander := apple_mdm.NewMDMAppleCommander(mdmStorage, mdmPushService)
mdmCheckinAndCommandService = service.NewMDMAppleCheckinAndCommandService(ds, commander)
appCfg.MDM.EnabledAndConfigured = true
}