I setup half a dozen serverclasses leveraging CMDB sourced .csv and whitelist.from_pathname
This works great to managing serverclasses with thousands of clients, though I was surprised these serverclasses whitelisted clients would get stale unless I'd issue a reload deploy-server / reload deploy-server -class
Couldn't find any flag on the DS allowing whitelist.from_pathname to update whenever the linked .csv would update.
Is there any better way ?
Yes, it would be nice if it watched the file and reloaded the config when the server file was updated. I think the only real option is to set up your process that updates the machine list to reload the deploy-server after the list is updated.
I have the same issue, and I'm very interested to get a solution here.