Enable Keystone v3 support for nova_flavor and nova_aggregate
Both providers were previously using Credentialsv2_0, which do not
work in a Keystone v3 environment (and that's what we should be
using today).
Change-Id: Ib1509b8b5422a8749d7f7689b77dc4abab50dbf7
(cherry picked from commit 343bf012c1
)
This commit is contained in:
parent
58bf484a13
commit
a6aa3225b3
|
@ -8,7 +8,7 @@ Puppet::Type.type(:nova_aggregate).provide(
|
||||||
Provider to manage nova aggregations
|
Provider to manage nova aggregations
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
@credentials = Puppet::Provider::Openstack::CredentialsV2_0.new
|
@credentials = Puppet::Provider::Openstack::CredentialsV3.new
|
||||||
|
|
||||||
mk_resource_methods
|
mk_resource_methods
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Puppet::Type.type(:nova_flavor).provide(
|
||||||
Manage Nova flavor
|
Manage Nova flavor
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
@credentials = Puppet::Provider::Openstack::CredentialsV2_0.new
|
@credentials = Puppet::Provider::Openstack::CredentialsV3.new
|
||||||
|
|
||||||
def initialize(value={})
|
def initialize(value={})
|
||||||
super(value)
|
super(value)
|
||||||
|
|
Loading…
Reference in New Issue