Re: [Puppet Users] puppetlabs-lvm & inconsistency of pv devices

2024-05-08 Thread 'Tim Mooney' via Puppet Users
In regard to: [Puppet Users] puppetlabs-lvm & inconsistency of pv devices,...: As we're migrating from RHEL 7 over to RHEL 9, RedHat is stating that pv device order should not be expected to be consistent. LVM also no longer defaults to importing existing PVs that have been preserved from a p

[Puppet Users] puppetlabs-lvm & inconsistency of pv devices

2024-05-08 Thread Mike Langhorst
As we're migrating from RHEL 7 over to RHEL 9, RedHat is stating that pv device order should not be expected to be consistent. So how are users specifying to create the pv on RedHat systems now? Really don't want to try and deal with UUID's, and would rather not have admins create the PV & vo

Re: [Puppet Users] Re custom fact query

2024-05-08 Thread 'Ben Ford' via Puppet Users
Hi Dave! This bug was actually just fixed in https://github.com/puppetlabs/facter/pull/2705 For now, you'll need to compare to the downcased version of the string and I'll file a ticket to get that noted in docs. Good luck! On May 8, 2024, at 2:15 AM, daveford...@gmail.com wrote: You don

[Puppet Users] Re custom fact query

2024-05-08 Thread daveford...@gmail.com
To clarify, tried this on various systems - facter 4.4.0 and ruby 3.0.2 on Ubuntu Mint and facter 4.7.0 and ruby 3.1.4 on gentoo. Examples taken from the puppet documentation on writing custom facts. On Wednesday 8 May 2024 at 10:12:31 UTC+1 daveford...@gmail.com wrote: > Total ruby noob and

[Puppet Users] Custom fact query

2024-05-08 Thread daveford...@gmail.com
Total ruby noob and first time trying to right a custom fact. It does look too complication and I've sort of got this working.. But one question - from the puppet documentation gives two ways of using a 'confine'. This lets me custom fact produce output via facter on my gentoo box as expected