My general understanding of the poem is that the poet is talking about the preparations for war; when a soldier is being trained to kill people.
The second stanza is describing the structure of a gun and it's different parts. During the war your gun will be a part of your body so you must lea how to use it.