Sorry but even if you were a cook you were consider a soldier.
That is born out by the fact that they got pensions.
Teamsters who were independent contractors did not get pensions.
In the confederate army, slaves were employed as teamsters, furriers, blacksmiths, cooks, etc. They were not soldiers, they were slaves. The fact that some former Confederate states decided to pay some of these people pensions 30 years after the fact does not make them soldiers in the Confederate Army.