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

Alignment is off.