You can adjust the config_version value in puppet.conf (
https://docs.puppet.com/puppet/latest/configuration.html#configversion) to
spit out the git hash. See "Per-environment config_version" at
http://garylarizza.com/blog/2014/08/31/r10k-plus-directory-environments/
for some detail on it and an example of using the git hash instead of epoch
time.


Rob Nelson
rnels...@gmail.com

On Wed, Mar 1, 2017 at 11:45 AM, Jason McMahan <jason.m.mcma...@gmail.com>
wrote:

> I am sorry i do not quite catch your meaning Rob.
> Could you please explain?
>
> Thank you
>
> On Tuesday, February 28, 2017 at 9:26:01 PM UTC-6, Rob Nelson wrote:
>>
>> If you're using a control repo, you can change the catalog version number
>> from seconds since epoch to git commit hash, which should allow you to
>> reconstitute all the modules in use at that time if you pin all external
>> modules in your Puppetfile (included would already be part of that hash).
>> --
>> Rob Nelson
>>
> --
> 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/5232619f-fbfa-4047-84eb-3a80d5114088%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/5232619f-fbfa-4047-84eb-3a80d5114088%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAC76iT_0Sj6TLrEaV-_jALuYZ4%2Bf_JSQy73XyKbdMaa1Ga_qpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to