Issue #9575 has been updated by Krzysztof Wilczynski.

Assignee deleted (Krzysztof Wilczynski)


----------------------------------------
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: 
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.

Reply via email to