(Not a programmer, please bear with me. I couldn't find answers in the code for 
1.5.1 or 2.0.3.)

How often does r10k update its cache? It looks like once per invocation.

Is there a way of telling an r10k invocation to use the cache directly?

I could use local git repositories presync'ed myself per testing, but if 
there's a way around separately presync'ing that would be better. Presync'ing a 
new module would mean that somebody would have to update a server config item 
and only then update their puppetfile.

Backstory:

I attempted a monolithic->r10k conversion yesterday in preprod and it didn't go 
well and I rolled back. I think I attempted too many environments with too many 
modules in each environment, for starters. The initial sync took very long and 
I had inode usage issues on two smaller puppetmasters. I was also attempting 
separate control repos rather than separate branches of a single control repo 
for better ACL'ing.

I also noticed that each "r10k puppetfile install" spawned two git processes 
per module. As near as I could tell there was one to fetch the cache via https 
and another to fetch the actual module, again connecting via https while using 
the cache. In our environment this is pretty slow.

(Plenty of experience to learn from, at least.)

-- 
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/20150925180255.GA14616%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to