FreeBSD and OpenBSD: need different package name on install
|Affected Puppet version:||Branch:|
For some packages, the name that you use to install the package is not the same name that appears in the package info when it is installed. For example, the mysql server package on FreeBSD is installed via pkg_add -r mysql51-server, but appears as mysql-server in pkg_info. The same thing happens when you need to specify a particular version of the package. For example, the vim package on OpenBSD needs to be installed as the version with X11 or the version without (two different package names), but both appear as just vim in pkg_info.
It would be very helpful to have an option (installname?) that allows you to specify a different name to use when installing vs when checking if the package is installed.