Well, if you do $disks = facts['os']['disks'] (note: facts, not facter), you'll have a hash of all disks in $disks. Some of the functions in puppetlabs-stdlib let you modify hashes. Take a look at delete <https://forge.puppet.com/puppetlabs/stdlib#delete> to drop keys like 'fd0' and 'sda' from the hash, then you can use the remaining hash as input for the LVM module.
Regards, Martijn -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/96b3e1e7-b74b-446d-b0a9-8ad230e24812%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
