Foreman 3.0 Customize Host of discovered items throws undefined method for puppet

the package can be fetched from here
https://stagingdeb.theforeman.org/pool/plugins/lzap/r/ruby-foreman-discovery/ruby-foreman-discovery_9999-18.0.0-plugins+scratchbuild20210920154157_all.deb