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:
Javier Pena 2016-10-17 11:39:47 +02:00 committed by Arnaud Morin
parent 58bf484a13
commit a6aa3225b3
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Puppet::Type.type(:nova_aggregate).provide(
Provider to manage nova aggregations
EOT
@credentials = Puppet::Provider::Openstack::CredentialsV2_0.new
@credentials = Puppet::Provider::Openstack::CredentialsV3.new
mk_resource_methods

View File

@ -8,7 +8,7 @@ Puppet::Type.type(:nova_flavor).provide(
Manage Nova flavor
EOT
@credentials = Puppet::Provider::Openstack::CredentialsV2_0.new
@credentials = Puppet::Provider::Openstack::CredentialsV3.new
def initialize(value={})
super(value)