generate rex services on the fly from foreman/puppet enc