We could instead, keep the Puppetfile, and make a second call to r10k by specifying the Puppetfile path and the moduledir path.
USAGE
r10k puppetfile install
OPTIONS
--force Force locally changed files to be
overwritten
--module-exclude-regex=<value> A regex to exclude modules from
installation. Helpful in CI
environments.
--moduledir=<value> Path to install modules to
--puppetfile=<value> Path to puppetfile
Puppetfile could be included in the puppetserver_etc zip file and the r10k command could be called by the provision module.
In puppet.yaml, we currently have this:
We could instead, keep the Puppetfile, and make a second call to r10k by specifying the Puppetfile path and the moduledir path.
Puppetfile could be included in the puppetserver_etc zip file and the r10k command could be called by the provision module.