|
2 | 2 | require 'puppet/node/facts'
|
3 | 3 | require 'puppet/util/fact_dif'
|
4 | 4 |
|
5 |
| -EXCLUDE_LIST = %w[facterversion |
6 |
| - swapfree_mb swapsize_mb |
7 |
| - load_averages\.* |
8 |
| - memory\.swap\.available_bytes memory\.swap\.capacity memory\.swap\.total_bytes |
9 |
| - memory\.swap\.used_bytes memory\.swap\.available |
10 |
| - memory\.system\.available memory\.system\.available_bytes memory\.system\.capacity memory\.swap\.used |
11 |
| - memory\.system\.total_bytes memory\.system\.used memory\.system\.used_bytes |
12 |
| - memoryfree memoryfree_mb memorysize_mb |
13 |
| - mountpoints\..* mtu_.* mountpoints\..*\.capacity |
14 |
| - networking\.interfaces\..*\.mtu networking\.mtu partitions\..*\.filesystem |
15 |
| - partitions\..*\.size_bytes partitions\..*\.mount partitions\..*\.uuid |
16 |
| - disks\..*\.size_bytes |
17 |
| - hypervisors\.lpar\.partition_number hypervisors\.xen\.privileged hypervisors\.zone\..* hypervisors\.ldom\..* |
| 5 | +EXCLUDE_LIST = %w[ facterversion |
| 6 | + load_averages\..* |
18 | 7 | processors\.speed
|
19 |
| - ldom_.* |
20 |
| - boardassettag dmi\.board\.asset_tag |
21 |
| - blockdevice_.*_vendor blockdevice_.*_size |
22 |
| - system_uptime\.days system_uptime\.hours system_uptime\.seconds system_uptime\.uptime |
23 |
| - uptime_days uptime_hours uptime_seconds |
24 |
| - system_profiler\.uptime |
25 |
| - sp_uptime |
26 |
| - uptime] |
| 8 | + swapfree swapfree_mb |
| 9 | + memoryfree memoryfree_mb |
| 10 | + memory\.swap\.available_bytes memory\.swap\.used_bytes |
| 11 | + memory\.swap\.available memory\.swap\.capacity memory\.swap\.used |
| 12 | + memory\.system\.available_bytes memory\.system\.used_bytes |
| 13 | + memory\.system\.available memory\.system\.capacity memory\.system\.used |
| 14 | + mountpoints\..*\.available* mountpoints\..*\.capacity mountpoints\..*\.used* |
| 15 | + sp_uptime system_profiler\.uptime |
| 16 | + uptime uptime_days uptime_hours uptime_seconds |
| 17 | + system_uptime\.uptime system_uptime\.days system_uptime\.hours system_uptime\.seconds |
| 18 | +] |
27 | 19 |
|
28 | 20 | Puppet::Indirector::Face.define(:facts, '0.0.1') do
|
29 | 21 | copyright "Puppet Inc.", 2011
|
|
0 commit comments