Slovenia appointed Major General Alenka Ermenc as chief of the army, the government said on Tuesday, making her the only woman in charge of a NATO country’s military.