Moved the locaation of 'syntax on' in my vimrc because it was making my puppet files not pick up the right syntax.