I have been attemtping to use r10k as a tool to create dynamic environments
with git and my puppet master, however i was wondering if there is a plugin
or tool that would interface between a git repo and Foreman directly?
Please let me know if there is anything!
What exactly are you looking for? Are we talking about deploying
classes to disk, or importing classes into Foreman after a deployment?
For the former, Foreman doesn't care how the classes get to the
puppetserver. I personally use a bare git repo (in
/var/lib/puppet/puppet.git) and a post-commit hook that checks out the
repo to /etc. r10k certainly works to, as does a variety of other
If you're talking about importing the classes into Foreman after a
deployment, then there's a rake task you can execute on the Foreman
host (foreman-rake puppet:import:puppet_classes). Be careful with this
though - the UI offers a chance to review the changes (especially which
classes have been deleted), but the rake task will import the changes
with no confirmation. Be sure your commits don't have syntax errors in
if you go down this road
On Mon, 2017-07-03 at 10:04 -0700, email@example.com wrote:
> Hi All
> I have been attemtping to use r10k as a tool to create dynamic
> environments with git and my puppet master, however i was wondering
> if there is a plugin or tool that would interface between a git repo
> and Foreman directly?