puppet_agent v 4.6 places a permanent file rpm_gpg_import_check.sh into /tmp. Seems questionable choice to me. Since /tmp is most often tmpfs and getting cleaned periodically, file will be recreated again and again. Why don't put it into /usr/local/bin or something like that instead ?
Context: https://puppetcommunity.slack.com/archives/C11LCKKQ9/p1619183089100600 and https://github.com/puppetlabs/puppetlabs-puppet_agent/commit/c793fd0d0be363a42f9d23aa11cd1687fdcfae74#commitcomment-49907770