How to test puppet changes without committing?
We use Puppet with Foreman here, and it is the Foreman (with the Puppet add-on), that controls, which classes are applicable to each host.
Foreman can be told to apply a particular git-branch to a particular host, and that's how our development is currently ongoing. Trouble is, you still have to commit your changes (even if only to a branch), before you can test them, which increases noise.
Is there a way
puppet apply or
puppet agent (or some other incarnation) can run simulating the regular agent-daemon precisely except getting the modules from a specified local directory instead of from puppet-master?
We use Puppet-3.7.5 at the moment. Thanks!