diff --git a/doc/man/salt.7 b/doc/man/salt.7 index c3c5763a99..c0f6184af6 100644 --- a/doc/man/salt.7 +++ b/doc/man/salt.7 @@ -144089,7 +144089,7 @@ SELECT,INSERT maintenance_db=db_name .INDENT 7.0 .TP .B name -Name of the role whose privilages should be checked on object_type +Name of the role whose privileges should be checked on object_type .TP .B object_name Name of the object on which the check is to be performed @@ -144114,7 +144114,7 @@ group .UNINDENT .TP .B privileges -Comma separated list of privilages to check, from the list below: +Comma separated list of privileges to check, from the list below: .INDENT 7.0 .IP \(bu 2 INSERT @@ -144431,7 +144431,7 @@ SELECT,UPDATE maintenance_db=db_name .INDENT 7.0 .TP .B name -Name of the role to which privilages should be granted +Name of the role to which privileges should be granted .TP .B object_name Name of the object on which the grant is to be performed @@ -144456,7 +144456,7 @@ group .UNINDENT .TP .B privileges -Comma separated list of privilages to grant, from the list below: +Comma separated list of privileges to grant, from the list below: .INDENT 7.0 .IP \(bu 2 INSERT @@ -144602,7 +144602,7 @@ SELECT,UPDATE maintenance_db=db_name .INDENT 7.0 .TP .B name -Name of the role whose privilages should be revoked +Name of the role whose privileges should be revoked .TP .B object_name Name of the object on which the revoke is to be performed @@ -144627,7 +144627,7 @@ group .UNINDENT .TP .B privileges -Comma separated list of privilages to revoke, from the list below: +Comma separated list of privileges to revoke, from the list below: .INDENT 7.0 .IP \(bu 2 INSERT @@ -232525,7 +232525,7 @@ Revoke the requested privilege(s) on the specificed object(s) .INDENT 7.0 .TP .B name -Name of the role whose privilages should be revoked +Name of the role whose privileges should be revoked .TP .B object_name Name of the object on which the revoke is to be performed @@ -232550,7 +232550,7 @@ group .UNINDENT .TP .B privileges -Comma separated list of privilages to revoke, from the list below: +Comma separated list of privileges to revoke, from the list below: .INDENT 7.0 .IP \(bu 2 INSERT @@ -232615,7 +232615,7 @@ Grant the requested privilege(s) on the specified object to a role .INDENT 7.0 .TP .B name -Name of the role to which privilages should be granted +Name of the role to which privileges should be granted .TP .B object_name Name of the object on which the grant is to be performed @@ -232640,7 +232640,7 @@ group .UNINDENT .TP .B privileges -Comma separated list of privilages to grant, from the list below: +Comma separated list of privileges to grant, from the list below: .INDENT 7.0 .IP \(bu 2 INSERT diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py index 528fb8e85e..dd2068b086 100644 --- a/salt/modules/postgres.py +++ b/salt/modules/postgres.py @@ -2670,7 +2670,7 @@ def has_privileges(name, SELECT,INSERT maintenance_db=db_name name - Name of the role whose privilages should be checked on object_type + Name of the role whose privileges should be checked on object_type object_name Name of the object on which the check is to be performed @@ -2687,7 +2687,7 @@ def has_privileges(name, - group privileges - Comma separated list of privilages to check, from the list below: + Comma separated list of privileges to check, from the list below: - INSERT - CREATE @@ -2792,7 +2792,7 @@ def privileges_grant(name, SELECT,UPDATE maintenance_db=db_name name - Name of the role to which privilages should be granted + Name of the role to which privileges should be granted object_name Name of the object on which the grant is to be performed @@ -2809,7 +2809,7 @@ def privileges_grant(name, - group privileges - Comma separated list of privilages to grant, from the list below: + Comma separated list of privileges to grant, from the list below: - INSERT - CREATE @@ -2918,7 +2918,7 @@ def privileges_revoke(name, SELECT,UPDATE maintenance_db=db_name name - Name of the role whose privilages should be revoked + Name of the role whose privileges should be revoked object_name Name of the object on which the revoke is to be performed @@ -2935,7 +2935,7 @@ def privileges_revoke(name, - group privileges - Comma separated list of privilages to revoke, from the list below: + Comma separated list of privileges to revoke, from the list below: - INSERT - CREATE diff --git a/salt/states/postgres_privileges.py b/salt/states/postgres_privileges.py index 3f12e860e7..f552b3db3f 100644 --- a/salt/states/postgres_privileges.py +++ b/salt/states/postgres_privileges.py @@ -90,7 +90,7 @@ def present(name, Grant the requested privilege(s) on the specified object to a role name - Name of the role to which privilages should be granted + Name of the role to which privileges should be granted object_name Name of the object on which the grant is to be performed @@ -107,7 +107,7 @@ def present(name, - group privileges - Comma separated list of privilages to grant, from the list below: + Comma separated list of privileges to grant, from the list below: - INSERT - CREATE @@ -210,7 +210,7 @@ def absent(name, Revoke the requested privilege(s) on the specificed object(s) name - Name of the role whose privilages should be revoked + Name of the role whose privileges should be revoked object_name Name of the object on which the revoke is to be performed @@ -227,7 +227,7 @@ def absent(name, - group privileges - Comma separated list of privilages to revoke, from the list below: + Comma separated list of privileges to revoke, from the list below: - INSERT - CREATE