I have a case where we are throwing together diskless node images that get thrown out to nodes via PXE and then mounted via a ramdisk. To build these previously we have just installed packages with yum --installroot= install .
I was wondering though if I were able to have puppet instead of doing a regular yum -y install that for some node types would instead follow this pattern and do yum --installroot= install .
Cheers!
This should be doable with
install_options
(which, for theyum
provider, requires Puppet 3.6 or newer):