Forcing g10k to update Puppet Forge modules
The YoloCloud is automated mostly using Puppet. The other day I realized some of my Puppet Forge modules were some versions behind and decided to update them. After taking a look at the g10k documentation, the only thing directly related to “updating” was the -check4update argument. Well, turns out that the dryrun mode gets enabled by default when -check4update is used and it cannot be disabled. After some more reading, I found the -force argument. It wipes the environment directory and redownloads the modules for all of the environments. But there was one detail: g10k was still using its cache and recreating the environments using the outdated modules. ...