Merge "user_enabled should be a Boolean not a string"
This commit is contained in:
@@ -69,8 +69,7 @@ openstack_identity_register "Register Cinder Service User" do
|
|||||||
tenant_name service_tenant_name
|
tenant_name service_tenant_name
|
||||||
user_name service_user
|
user_name service_user
|
||||||
user_pass service_pass
|
user_pass service_pass
|
||||||
# String until https://review.openstack.org/#/c/29498/ merged
|
user_enabled true # Not required as this is the default
|
||||||
user_enabled "true" # Not required as this is the default
|
|
||||||
|
|
||||||
action :create_user
|
action :create_user
|
||||||
end
|
end
|
||||||
|
@@ -87,7 +87,7 @@ describe "openstack-block-storage::identity_registration" do
|
|||||||
@identity_register_mock.should_receive(:user_pass).
|
@identity_register_mock.should_receive(:user_pass).
|
||||||
with "cinder-pass"
|
with "cinder-pass"
|
||||||
@identity_register_mock.should_receive(:user_enabled).
|
@identity_register_mock.should_receive(:user_enabled).
|
||||||
with "true"
|
with true
|
||||||
@identity_register_mock.should_receive(:action).
|
@identity_register_mock.should_receive(:action).
|
||||||
with :create_user
|
with :create_user
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user