disciplinarian
🇺🇸
/ˌdɪsəplɪˈneriən/
🇬🇧
/ˌdɪsəplɪˈneəriən/
A person who is strict about rules and expects others to follow them.
The teacher is a disciplinarian, so everyone in the class behaves well.