puppetlabs / puppet_litmus

Providing a simple command line tool for puppet content creators, to enable simple and complex test deployments.
Apache License 2.0
88 stars 55 forks source link

(CAT-1265) - Fix agent install on vagrant boxes #518

Closed jordanbreen28 closed 11 months ago

jordanbreen28 commented 11 months ago

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