Well, yes and no. There's no feature that directly supports "compile
using this git tag/branch/hash", because puppet doesn't "know" about
git, it just operates on a directory (modulepath). What most people do
is check out the git tag/brach/hash to a directory on the puppetmaster,
and use that as an environment (see
http://docs.puppetlabs.com/guides/environment.html and
http://puppetlabs.com/blog/git-workflow-and-puppet-environments). If you
need something more automated, you can always use a git hook to create
the directory and do the checkout on your puppetmaster. Then you'll just
specify the correct environment name when you run your agent.
I'm in the process of doing a puppet3 rollout that makes heavy use of
this process. I'm planning on writing a series of blog posts detailing
it, but haven't really gotten started yet. If you need some more
specific instructions, I can try to provide some.
-jantman
On 11/03/2013 07:59 PM, Schofield wrote:
I'm wondering if there is any feature that will allow puppet to
compile a catalog against a specific tag of a git repo?
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/2e941022-133c-4008-8b23-52a0492c9bf6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/52779C98.9060901%40jasonantman.com.
For more options, visit https://groups.google.com/groups/opt_out.