mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix failing grains test on CentOS
Resolves https://github.com/saltstack/salt-jenkins/issues/556
This commit is contained in:
parent
b29300ef68
commit
682fc1b884
@ -477,7 +477,8 @@ PATCHLEVEL = 3
|
||||
'/proc/meminfo': True
|
||||
}
|
||||
_cmd_run_map = {
|
||||
'dpkg --print-architecture': 'amd64'
|
||||
'dpkg --print-architecture': 'amd64',
|
||||
'rpm --eval %{_host_cpu}': 'x86_64'
|
||||
}
|
||||
|
||||
path_exists_mock = MagicMock(side_effect=lambda x: _path_exists_map[x])
|
||||
|
Loading…
Reference in New Issue
Block a user