rubyipmi 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/rubyipmi/ipmitool/commands/chassis.rb +2 -2
- data/rubyipmi.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -10,8 +10,8 @@ module Rubyipmi::Ipmitool
|
|
10
10
|
# Turn the led light on / off or with a delay
|
11
11
|
def identify(status=false, delay=0)
|
12
12
|
if status
|
13
|
-
if delay
|
14
|
-
options["cmdargs"] = "chassis identify
|
13
|
+
if not delay.between?(1,255)
|
14
|
+
options["cmdargs"] = "chassis identify 255"
|
15
15
|
else
|
16
16
|
options["cmdargs"] = "chassis identify #{delay}"
|
17
17
|
end
|
data/rubyipmi.gemspec
CHANGED
metadata
CHANGED