mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30784 from rallytime/bp-24952
Back-port #24952 to 2015.5
This commit is contained in:
commit
80a36793cb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue