The Treaty of Brest-Litovsk hadn't caused the Germans to win the war at the western front. The arrival of the Americans was the deciding factor for Germany.
The new German government signed the Armistice of Compiègne on a train slightly north of Paris.