Set proper service_type for Sahara for sahara template providers
Change-Id: I918241635749f9a6e8d0b10808627ec963707000 Related-bug: #1356053 Closes-bug: #1535089
This commit is contained in:
parent
1311681465
commit
309b3115bc
@ -14,7 +14,7 @@ Puppet::Type.type(:sahara_cluster_template).provide(:ruby) do
|
||||
:auth_method => 'password',
|
||||
:auth_url => @resource[:auth_url],
|
||||
:authtenant_name => @resource[:auth_tenant_name],
|
||||
:service_type => 'data_processing',
|
||||
:service_type => 'data-processing',
|
||||
:is_debug => @resource[:debug],
|
||||
})
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ Puppet::Type.type(:sahara_node_group_template).provide(:ruby) do
|
||||
:auth_method => 'password',
|
||||
:auth_url => @resource[:auth_url],
|
||||
:authtenant_name => @resource[:auth_tenant_name],
|
||||
:service_type => 'data_processing',
|
||||
:service_type => 'data-processing',
|
||||
:is_debug => @resource[:debug],
|
||||
})
|
||||
end
|
||||
|
@ -189,7 +189,7 @@ module OpenStack
|
||||
OpenStack::Image::Connection.new(connection)
|
||||
when 'network'
|
||||
OpenStack::Network::Connection.new(connection)
|
||||
when 'data_processing'
|
||||
when 'data-processing'
|
||||
OpenStack::Sahara::Connection.new(connection)
|
||||
else
|
||||
raise Exception::InvalidArgument, "Invalid :service_type parameter: #{@service_type}"
|
||||
|
Loading…
Reference in New Issue
Block a user