If you're using puppet/ansible/chef I would do the...
# general
g
If you're using puppet/ansible/chef I would do the same and template it