It would be nice if vim would offer syntax highlight for puppet configuration files ("*.pp"). The required files are: http://reductivelabs.com/downloads/puppet/puppet.vim and http://reductivelabs.com/downloads/puppet/filetype.vim (actually this should be appended to the current filetype.vim file)
You might find these links relevant: http://mail.madstop.com/pipermail/puppet-dev/2005-September/000188.html and http://projects.reductivelabs.com/issues/18 .
Jon Stanley has suggested (on #fedora-devel) to create a puppet-vim subpackage similar to protobuf-vim for protobuf.
reassigning to the proper component
I did this a while back, but it just didn't seem too clean, so I never added it to the puppet packages. Has anyone attempted to get the syntax files submitted and maintained upstream in vim? I think that would be the best solution in the end, and would benefit the most people (with the least amount of overall effort). Puppet also has emacs files, so if we're going to add a -vim sub-package, we probably ought to add an -emacs one as well (though I'm not an emacs user, so I wouldn't be well suited to creating and ensuring such a sub-package was correct). I'm not sure that's worth the effort though. Maybe we should just include ext/emacs and ext/vim in as %doc, so that users who want them can add them?
I see different components that we can use/add to the puppet package in Fedora/EPEL. How about I work on this for a while and you ping me some time this weekend on IRC?
Created attachment 345922 [details] Patch to add emacs mode / vim syntax files to puppet Ooops, I never did ping you about this Jeroen. Thinking about it more, the idea of adding subpackages seems like more work than it's worth. And I say this after having made and used a vim subpackage a while back. I think an acceptable alternative is to add the emacs mode and vim syntax files to the puppet package and own the directories needed (%{_datadir}/emacs and %{_datadir}/vim/vimfiles). In the case of emacs, a number of packages already do this. This avoids having requirements on emacs-common and/or vim-common. Does that sound alright or would subpackages be preferable to anyone? I made emacs and vim subpackages to compare, which I can attach if there is interest. While at it, I added the ext/ dir to %doc, so that other useful things from it can be more easily used by folks. (Unrelated are the changes to make augeas and selinux requirements optional for people rebuilding. I was just too lazy to pull those out to generate a diff without them.)
I checked in these changes in rawhide, and submitted a build. Waiting just a little bit with releasing to current branches so that I can do some more work on puppet (other bugs mainly)