In keeping with the primary objective of vocational training and rehabilitation of prisoners, the articles or products manufactured or produced by prison labor in accordance with the provisions of this chapter shall be devoted, first, to fulfilling the requirements of the offices, departments, institutions and agencies of this state which are supported in whole or in part by this state and, secondly, to supplying the political subdivisions of this state with such articles and products.