Neither Israel 's prime minister , Ehud Olmert , nor its defense minister , Amir Peretz , has the kind of long military experience previous holders of their positions have had , and the two have been in power for only several months .