With the demise of his agency coming next month, the director of the California Department of Information Technology (DOIT) resigned in the wake of a controversy over a state contract for Oracle Corp.