added support for installation of non-core plugins (taken verbatim from puppet-foreman)

Odd indenting here.