puppetlabs_repo snippet incorrectly references puppet release files as puppetlabs-release rather than puppet-release
the puppetlabs_repo snippet sets the repo URL to install the official puppet hosted rpm/deb repos based on the following pattern
<%= http_proxy %><%= http_port %> https://<%= repo_host %>/<%= repo_subdir %><%= repo_name %>
<%= repo_os %><%= os_major %>
repo_name is incorrectly referencing the legacy puppet labs naming and URL 'puppetlabs' which will cause the provisioning to fail to install puppet if certain host or global parameters are set.