 He was promoted to colonel on March 11, 1898 and to Commissary General with the rank of brigadier general on May 3, 1898, following the outbreak of the Spanish–American War.One of the challenges facing Eagan was supplying food to soldiers serving in Cuba and other remote locations.Eagan's solution was to ship both refrigerated and canned beef to the soldiers.