Added extra options for users
Change-Id: I26b20f5946033e98f1323437e40a52f0e96fe873
Related-PROD: PROD-28027
diff --git a/runtest/salttest/modules/openstack/keystonev3.sls b/runtest/salttest/modules/openstack/keystonev3.sls
index 0533415..f1ecdba 100644
--- a/runtest/salttest/modules/openstack/keystonev3.sls
+++ b/runtest/salttest/modules/openstack/keystonev3.sls
@@ -33,6 +33,11 @@
cloud_name: admin_identity
name: {{ Keystone_Test_User }}
description: Test_Keystone_User
+ options:
+ ignore_change_password_upon_first_use: True
+ ignore_password_expiry: True
+ ignore_lockout_failure_attempts: False
+ lock_password: False
- require:
- keystonev3_domain_create
@@ -322,6 +327,12 @@
cloud_name: admin_identity
user_id: {{ Keystone_Test_User }}
description: Updated_Test_Keystone_User
+ options:
+ ignore_change_password_upon_first_use: False
+ ignore_password_expiry: False
+ ignore_lockout_failure_attempts: True
+ lock_password: True
+
- require:
- keystonev3_user_create
diff --git a/runtest/salttest/states/openstack/keystonev3.sls b/runtest/salttest/states/openstack/keystonev3.sls
index fc57a12..9da7f87 100644
--- a/runtest/salttest/states/openstack/keystonev3.sls
+++ b/runtest/salttest/states/openstack/keystonev3.sls
@@ -39,6 +39,12 @@
keystonev3.user_present:
- name: {{ Keystone_Test_User }}
- cloud_name: admin_identity
+ - kwargs:
+ options:
+ ignore_change_password_upon_first_use: True
+ ignore_password_expiry: True
+ ignore_lockout_failure_attempts: False
+ lock_password: False
keystonev3_role_present:
keystonev3.role_present: