From dbe75c29ee3ce2255c8d9018f17162ce6c8aa1b3 Mon Sep 17 00:00:00 2001
From: Harald Jensas <hjensas@redhat.com>
Date: Fri, 9 Feb 2018 13:18:21 +0100
Subject: [PATCH] Fix dependency cycle issue

Error: Failed to apply catalog: Found 1 dependency cycle

Initially the correct tags was not used for the package
resource in this class. Once added the require on
::neutron::plugins::ml2 and package tag cause cycle
dependecy issue. Removing require ::neutron::plugins::ml2
fixes the issue.


Closes-Bug: #1748435
Change-Id: Ie7bb7d00c606a928b58cdc45e04c4fce45208fe5
---
 manifests/plugins/ml2/networking_baremetal.pp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/manifests/plugins/ml2/networking_baremetal.pp b/manifests/plugins/ml2/networking_baremetal.pp
index 779167e77..364bb7ceb 100644
--- a/manifests/plugins/ml2/networking_baremetal.pp
+++ b/manifests/plugins/ml2/networking_baremetal.pp
@@ -16,7 +16,6 @@ class neutron::plugins::ml2::networking_baremetal(
 
   include ::neutron::deps
   include ::neutron::params
-  require ::neutron::plugins::ml2
 
   if($::osfamily != 'RedHat') {
     # Drivers are only packaged for RedHat at this time