Issue #9575 has been updated by Dennis Hoppe.
Hello Krzysztof, it would be great, if your facter could also recognise "lvm" partitions. Maybe you could remove the exclude for "dm" and get the label from "/dev/mapper"? Unfortunately i have no ruby skills, otherwise i would have sent you a patch. ;) Kindly Regards, Dennis ---------------------------------------- Feature #9575: Add fact that exposes disks and partitions available on Linux https://projects.puppetlabs.com/issues/9575 Author: Krzysztof Wilczynski Status: Tests Insufficient Priority: Normal Assignee: Krzysztof Wilczynski Category: library Target version: 1.7.x Keywords: partitions Branch: Affected Facter version: I needed to know what disks and partitions a particular system has to automate monitoring deployment with Puppet, etc ... Example of the output: <pre> root@yemen:~# facter -p | egrep -i 'disks|partitions' disks => c0d0,c0d1 partitions_c0d0 => c0d0p1,c0d0p2,c0d0p5 partitions_c0d1 => c0d1p1 </pre> The code can be reviewed here: [partitions.rb](https://github.com/kwilczynski/facter-facts/blob/master/partitions.rb); or available in the repository: [facter-facts](https://github.com/kwilczynski/facter-facts). I need to write tests for it :–) KW -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
