@Override
    public void close() {
        lock.ifPresent(Mutex::close);
        closed = true;
    }
Attempts to activate this deployment

@return the application config generation resulting from this deployment, or empty if it was not successful
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MaintenanceDeployment.java