Some of the provisioning classes have _depcheck or another function to verify requirements are in place before they even try to do anything. I think maybe doing a "sudo cobbler status" possibly via self._cobbler(['status']) in CobblerMachine as part of the constructor would make sense. This could also be a class setup method maybe, but I'm not as familiar with those.
Some of the provisioning classes have _depcheck or another function to verify requirements are in place before they even try to do anything. I think maybe doing a "sudo cobbler status" possibly via self._cobbler( ['status' ]) in CobblerMachine as part of the constructor would make sense. This could also be a class setup method maybe, but I'm not as familiar with those.