not sure if I understand correctly, you'd prefer to specify just class name and let puppet find it? I think we need this info but we could rather wrap it into foreman group so dir_name and plugin prefix would not be repeated... but with first plugin installed other way (we have two types now, plugin and compute)...