@@ -11,13 +11,14 @@ Puppet ipmi Module
11
11
3 . [ Usage] ( #usage )
12
12
* [ Example] ( #example )
13
13
* [ Classes] ( #classes )
14
- 4 . [ Limitations] ( #limitations )
14
+ 4 . [ Additional Facts] ( #additional-facts )
15
+ 5 . [ Limitations] ( #limitations )
15
16
* [ Tested Platforms] ( #tested-platforms )
16
17
* [ 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 )
21
22
22
23
23
24
Overview
@@ -29,10 +30,12 @@ Manages the OpenIPMI package
29
30
Description
30
31
-----------
31
32
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.
36
39
37
40
Usage
38
41
-----
@@ -78,6 +81,35 @@ Controls the state of the `ipmievd` service.
78
81
79
82
Controls whether the IPMI watchdog is enabled.
80
83
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
+
81
113
Limitations
82
114
-----------
83
115
0 commit comments