@@ -11,13 +11,14 @@ Puppet ipmi Module
11113 .  [ Usage] ( #usage ) 
1212    *  [ Example] ( #example ) 
1313    *  [ Classes] ( #classes ) 
14- 4 .  [ Limitations] ( #limitations ) 
14+ 4 .  [ Additional Facts] ( #additional-facts ) 
15+ 5 .  [ Limitations] ( #limitations ) 
1516    *  [ Tested Platforms] ( #tested-platforms ) 
1617    *  [ Puppet Version Compatibility] ( #puppet-version-compatibility ) 
17- 5 .  [ Versioning] ( #versioning ) 
18- 6 .  [ Support] ( #support ) 
19- 7 .  [ Contributing] ( #contributing ) 
20- 8 .  [ See Also] ( #see-also ) 
18+ 6 .  [ Versioning] ( #versioning ) 
19+ 7 .  [ Support] ( #support ) 
20+ 8 .  [ Contributing] ( #contributing ) 
21+ 9 .  [ See Also] ( #see-also ) 
2122
2223
2324Overview
@@ -29,10 +30,12 @@ Manages the OpenIPMI package
2930Description
3031----------- 
3132
32- Installs the [ OpemIPMI] ( http://openipmi.sourceforge.net/ )  package and enables
33- the ` ipmi `  service.  This loads the kernel drivers needed for communicating
34- with the BMC from user space.
35- 
33+ Installs the [ OpemIPMI] ( http://openipmi.sourceforge.net/ )  package,
34+ provides IPMI facts in a format compatible with
35+ [ The Foreman] ( www.theforeman.org ) 's
36+ [ BMC features] ( www.theforeman.org/manuals/latest/index.html#4.3.3BMC ) 
37+ and enables the ` ipmi `  service. The latter loads the kernel drivers
38+ needed for communicating with the BMC from user space.
3639
3740Usage
3841----- 
@@ -78,6 +81,35 @@ Controls the state of the `ipmievd` service.
7881
7982Controls whether the IPMI watchdog is enabled.
8083
84+ Additional Facts
85+ ---------------- 
86+ 
87+ This module provides additional facts for Facter with the following
88+ format:
89+ 
90+ ``` 
91+ ipmi1_gateway => 192.168.10.1 
92+ ipmi1_ipaddress => 192.168.10.201 
93+ ipmi1_ipaddress_source => Static Address 
94+ ipmi1_macaddress => 00:30:48:c9:64:2a 
95+ ipmi1_subnet_mask => 255.255.255.0 
96+ ``` 
97+ 
98+ where the 1 in ` ipmi1 `  corresponds to the channel according to
99+ ` ipmitool lan print ` .
100+ 
101+ Additionally for compatibility with The Foreman, the first IPMI
102+ interface (i.e. the one from ` ipmi lan print 1 ` ) gets all facts
103+ repeated as just ` ipmi_foo ` :
104+ 
105+ ``` 
106+ ipmi_gateway => 192.168.10.1 
107+ ipmi_ipaddress => 192.168.10.201 
108+ ipmi_ipaddress_source => Static Address 
109+ ipmi_macaddress => 00:30:48:c9:64:2a 
110+ ipmi_subnet_mask => 255.255.255.0 
111+ ``` 
112+ 
81113Limitations
82114----------- 
83115
0 commit comments