Fix minor typo in state logging

This commit is contained in:
David\ Beitey 2013-10-12 12:48:45 +10:00
parent aca78f3144
commit 39627de927
12 changed files with 22 additions and 22 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: