Code Review
/
ta
/
cm-plugins.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Correct rpm version
[ta/cm-plugins.git]
/
inventoryhandlers
/
storageinventory
/
storageinventory.py
diff --git
a/inventoryhandlers/storageinventory/storageinventory.py
b/inventoryhandlers/storageinventory/storageinventory.py
old mode 100644
(file)
new mode 100755
(executable)
index
b0a9182
..
73a75b0
--- a/
inventoryhandlers/storageinventory/storageinventory.py
+++ b/
inventoryhandlers/storageinventory/storageinventory.py
@@
-1319,7
+1319,8
@@
class storageinventory(cmansibleinventoryconfig.CMAnsibleInventoryConfigPlugin):
hwmgmt_addr = self._hosts_config_handler.get_hwmgmt_ip(name)
hwmgmt_user = self._hosts_config_handler.get_hwmgmt_user(name)
hwmgmt_pass = self._hosts_config_handler.get_hwmgmt_password(name)
hwmgmt_addr = self._hosts_config_handler.get_hwmgmt_ip(name)
hwmgmt_user = self._hosts_config_handler.get_hwmgmt_user(name)
hwmgmt_pass = self._hosts_config_handler.get_hwmgmt_password(name)
- return hw.get_hw_type(hwmgmt_addr, hwmgmt_user, hwmgmt_pass)
+ hwmgmt_priv_level = self._hosts_config_handler.get_hwmgmt_priv_level(name)
+ return hw.get_hw_type(hwmgmt_addr, hwmgmt_user, hwmgmt_pass, hwmgmt_priv_level)
@staticmethod
def _get_os_disk(hw_type):
@staticmethod
def _get_os_disk(hw_type):