From 626d41c1d18b1a6657ef722eceb3c8cc26913f22 Mon Sep 17 00:00:00 2001 From: Steve Tjoa Date: Sat, 2 Nov 2013 22:42:44 -0700 Subject: [PATCH] Changed parameter from 'user' to 'name' in the examples to coincide with the specs. --- library/database/postgresql_user | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/database/postgresql_user b/library/database/postgresql_user index 90667c156a5..bd0c9c641f3 100644 --- a/library/database/postgresql_user +++ b/library/database/postgresql_user @@ -108,16 +108,16 @@ author: Lorin Hochstein EXAMPLES = ''' # Create django user and grant access to database and products table -- postgresql_user: db=acme user=django password=ceec4eif7ya priv=CONNECT/products:ALL +- postgresql_user: db=acme name=django password=ceec4eif7ya priv=CONNECT/products:ALL # Create rails user, grant privilege to create other databases and demote rails from super user status -- postgresql_user: user=rails password=secret role_attr_flags=CREATEDB,NOSUPERUSER +- postgresql_user: name=rails password=secret role_attr_flags=CREATEDB,NOSUPERUSER # Remove test user privileges from acme -- postgresql_user: db=acme user=test priv=ALL/products:ALL state=absent fail_on_user=no +- postgresql_user: db=acme name=test priv=ALL/products:ALL state=absent fail_on_user=no # Remove test user from test database and the cluster -- postgresql_user: db=test user=test priv=ALL state=absent +- postgresql_user: db=test name=test priv=ALL state=absent # Example privileges string format INSERT,UPDATE/table:SELECT/anothertable:ALL