mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #30784 from rallytime/bp-24952
Back-port #24952 to 2015.5
This commit is contained in:
commit
80a36793cb
@ -271,7 +271,7 @@ def save_config():
|
||||
salt '*' raid.save_config
|
||||
|
||||
'''
|
||||
scan = __salt__['cmd.run']('mdadm --detail --scan', python_shell=False).split()
|
||||
scan = __salt__['cmd.run']('mdadm --detail --scan', python_shell=False).splitlines()
|
||||
# Issue with mdadm and ubuntu
|
||||
# REF: http://askubuntu.com/questions/209702/why-is-my-raid-dev-md1-showing-up-as-dev-md126-is-mdadm-conf-being-ignored
|
||||
if __grains__['os'] == 'Ubuntu':
|
||||
|
Loading…
Reference in New Issue
Block a user