mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix minor typo in state logging
This commit is contained in:
parent
aca78f3144
commit
39627de927
@ -73,7 +73,7 @@ def installed(name, # pylint: disable=C0103
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -148,7 +148,7 @@ def removed(name, ruby=None, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -131,7 +131,7 @@ def latest(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -355,7 +355,7 @@ def present(name, bare=True, runas=None, user=None, force=False):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -88,7 +88,7 @@ def latest(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -69,7 +69,7 @@ def installed(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -164,7 +164,7 @@ def removed(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -238,7 +238,7 @@ def bootstrap(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -81,7 +81,7 @@ def present(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -184,7 +184,7 @@ def absent(name, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -83,7 +83,7 @@ def present(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -156,7 +156,7 @@ def absent(name, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -83,7 +83,7 @@ def present(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -156,7 +156,7 @@ def absent(name, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -70,7 +70,7 @@ def present(name,
|
||||
if user:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'user\' argument is being deprecated in favor or \'owner\', '
|
||||
'The \'user\' argument is being deprecated in favor of \'owner\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and owner is not None:
|
||||
|
@ -129,7 +129,7 @@ def installed(name, default=False, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -218,7 +218,7 @@ def absent(name, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -201,7 +201,7 @@ def installed(name, default=False, runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -262,7 +262,7 @@ def gemset_present(name, ruby='default', runas=None, user=None):
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -87,7 +87,7 @@ def running(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
@ -275,7 +275,7 @@ def dead(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
@ -77,7 +77,7 @@ def managed(name,
|
||||
if runas:
|
||||
# Warn users about the deprecation
|
||||
ret.setdefault('warnings', []).append(
|
||||
'The \'runas\' argument is being deprecated in favor or \'user\', '
|
||||
'The \'runas\' argument is being deprecated in favor of \'user\', '
|
||||
'please update your state files.'
|
||||
)
|
||||
if user is not None and runas is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user