- should contain_keystone_config('ldap/user_tree_dn').with_value('cn=users,dc=example,dc=com')
- should contain_keystone_config('ldap/user_filter').with_value('(memberOf=cn=openstack,cn=groups,cn=accounts,dc=example,dc=com)')
- should contain_keystone_config('ldap/user_objectclass').with_value('inetUser')
- should contain_keystone_config('ldap/user_id_attribute').with_value('uid')
- should contain_keystone_config('ldap/user_name_attribute').with_value('cn')
- should contain_keystone_config('ldap/user_mail_attribute').with_value('mail')
- should contain_keystone_config('ldap/user_enabled_attribute').with_value('UserAccountControl')
- should contain_keystone_config('ldap/user_enabled_mask').with_value('2')
- should contain_keystone_config('ldap/user_enabled_default').with_value('512')
- should contain_keystone_config('ldap/user_enabled_invert').with_value('False')
- should contain_keystone_config('ldap/user_attribute_ignore').with_value('')
- should contain_keystone_config('ldap/user_default_project_id_attribute').with_value('defaultProject')
- should contain_keystone_config('ldap/user_tree_dn').with_value('cn=users,dc=example,dc=com')
- should contain_keystone_config('ldap/user_allow_create').with_value('False')
- should contain_keystone_config('ldap/user_allow_update').with_value('False')
- should contain_keystone_config('ldap/user_allow_delete').with_value('False')
- should contain_keystone_config('ldap/user_pass_attribute').with_value('krbPassword')
- should contain_keystone_config('ldap/user_enabled_emulation').with_value('True')
- should contain_keystone_config('ldap/user_enabled_emulation_dn').with_value('cn=openstack-enabled,cn=groups,cn=accounts,dc=example,dc=com')
- should contain_keystone_config('ldap/user_additional_attribute_mapping').with_value('description:name, gecos:name')
+ is_expected.to contain_keystone_config('ldap/user_tree_dn').with_value('cn=users,dc=example,dc=com')
+ is_expected.to contain_keystone_config('ldap/user_filter').with_value('(memberOf=cn=openstack,cn=groups,cn=accounts,dc=example,dc=com)')
+ is_expected.to contain_keystone_config('ldap/user_objectclass').with_value('inetUser')
+ is_expected.to contain_keystone_config('ldap/user_id_attribute').with_value('uid')
+ is_expected.to contain_keystone_config('ldap/user_name_attribute').with_value('cn')
+ is_expected.to contain_keystone_config('ldap/user_mail_attribute').with_value('mail')
+ is_expected.to contain_keystone_config('ldap/user_enabled_attribute').with_value('UserAccountControl')
+ is_expected.to contain_keystone_config('ldap/user_enabled_mask').with_value('2')
+ is_expected.to contain_keystone_config('ldap/user_enabled_default').with_value('512')
+ is_expected.to contain_keystone_config('ldap/user_enabled_invert').with_value('False')
+ is_expected.to contain_keystone_config('ldap/user_attribute_ignore').with_value('')
+ is_expected.to contain_keystone_config('ldap/user_default_project_id_attribute').with_value('defaultProject')
+ is_expected.to contain_keystone_config('ldap/user_tree_dn').with_value('cn=users,dc=example,dc=com')
+ is_expected.to contain_keystone_config('ldap/user_allow_create').with_value('False')
+ is_expected.to contain_keystone_config('ldap/user_allow_update').with_value('False')
+ is_expected.to contain_keystone_config('ldap/user_allow_delete').with_value('False')
+ is_expected.to contain_keystone_config('ldap/user_pass_attribute').with_value('krbPassword')
+ is_expected.to contain_keystone_config('ldap/user_enabled_emulation').with_value('True')
+ is_expected.to contain_keystone_config('ldap/user_enabled_emulation_dn').with_value('cn=openstack-enabled,cn=groups,cn=accounts,dc=example,dc=com')
+ is_expected.to contain_keystone_config('ldap/user_additional_attribute_mapping').with_value('description:name, gecos:name')