Configuring PXE on Foreman and WDS server

I recently completed a Foreman/Puppet installation, and looking forward to
implement the PXE boot,
We have a WDS server in our network and looking how to configure the puppet
to answer to PXE requests and enable autoinstalltions for linux machines
through foreman.
i followed this guide

but couldn't get the puppet to answer to pxe requests