mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add comment discussing the dangers of pacman -Sy
This commit is contained in:
parent
aacb35c31c
commit
30dbdaf8ad
@ -328,6 +328,8 @@ def install(name=None,
|
||||
log.error(problem)
|
||||
return {}
|
||||
|
||||
# It is critical that -Syu is run instead of -Sy:
|
||||
# http://gist.io/5660494
|
||||
if salt.utils.is_true(refresh):
|
||||
cmd = 'pacman -Syu --noprogressbar --noconfirm --needed ' \
|
||||
'"{0}"'.format('" "'.join(targets))
|
||||
|
Loading…
Reference in New Issue
Block a user