This PR fixes an issue where the puppet agent binary was not present on the secure path of the vagrant boxes, so subsequent puppet operations would fail.
It utilises the already present provision::fix_secure_path task in order to make the puppet agent binary accessible to all sudo users on the box, in most cases vagrant.
Additional Context
Add any additional context about the problem here.
[ ] Root cause and the steps to reproduce. (If applicable)
Summary
This PR fixes an issue where the puppet agent binary was not present on the secure path of the vagrant boxes, so subsequent puppet operations would fail.
It utilises the already present provision::fix_secure_path task in order to make the puppet agent binary accessible to all sudo users on the box, in most cases vagrant.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Fixes https://github.com/puppetlabs/provision/issues/225
Checklist