neutron plugins: include neutron base
authorEmilien Macchi <emilien@redhat.com>
Wed, 22 Jun 2016 16:17:55 +0000 (12:17 -0400)
committerEmilien Macchi <emilien@redhat.com>
Wed, 29 Jun 2016 13:44:51 +0000 (13:44 +0000)
neutron base is required by plugins to work correctly. Let's add it here
so we don't have to deal with it in THT.

Change-Id: Icaf6b0479297983220874d7ee9ea2c3336706332

manifests/profile/base/neutron/plugins/ml2.pp
manifests/profile/base/neutron/plugins/nuage.pp
manifests/profile/base/neutron/plugins/opencontrail.pp
manifests/profile/base/neutron/plugins/plumgrid.pp

index b462e1b..04c6244 100644 (file)
@@ -37,9 +37,10 @@ class tripleo::profile::base::neutron::plugins::ml2 (
   $step               = hiera('step'),
 ) {
 
+  include ::tripleo::profile::base::neutron
+
   if $step >= 4 or ( $step >= 3 and $sync_db ) {
     include ::neutron::plugins::ml2
-    include ::tripleo::profile::base::neutron
 
     if 'cisco_n1kv' in $mechanism_drivers {
       include ::tripleo::profile::base::neutron::n1k
index 20f93db..5d3661e 100644 (file)
@@ -29,6 +29,9 @@ class tripleo::profile::base::neutron::plugins::nuage (
   $step    = hiera('step'),
   $sync_db = true,
 ) {
+
+  include ::tripleo::profile::base::neutron
+
   if $step >= 4 or ( $step >= 3 and $sync_db ) {
     include ::neutron::plugins::nuage
   }
index 1fcb627..96d7421 100644 (file)
@@ -29,6 +29,9 @@ class tripleo::profile::base::neutron::plugins::opencontrail (
   $step    = hiera('step'),
   $sync_db = true,
 ) {
+
+  include ::tripleo::profile::base::neutron
+
   if $step >= 4 or ( $step >= 3 and $sync_db ) {
     include ::neutron::plugins::opencontrail
   }
index 7f645b9..f5cd273 100644 (file)
@@ -31,6 +31,9 @@ class tripleo::profile::base::neutron::plugins::plumgrid (
   $step    = hiera('step'),
   $sync_db = true,
 ) {
+
+  include ::tripleo::profile::base::neutron
+
   if $step >= 4 or ( $step >= 3 and $sync_db ) {
     include ::neutron::plugins::plumgrid
   }