summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-06-09 22:09:42 +0000
committerGerrit Code Review <review@openstack.org>2016-06-09 22:09:42 +0000
commit38aab83e3558e450bf6754b981772b11f3c649b1 (patch)
tree254528cc445dab565d2977df6c43d169b5df1e56 /manifests/profile/base
parent2f002bb0615a4ab8aa4954796a68936b0a4bdecb (diff)
parenta764891ee33554be65916f8afeea81189b1139a6 (diff)
Merge "Include neutron in step 3"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/neutron.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/manifests/profile/base/neutron.pp b/manifests/profile/base/neutron.pp
index 2958170..d5efa81 100644
--- a/manifests/profile/base/neutron.pp
+++ b/manifests/profile/base/neutron.pp
@@ -18,14 +18,19 @@
#
# === Parameters
#
+# [*sync_db*]
+# (Optional) Whether to run db sync
+# Defaults to true
+#
# [*step*]
# (Optional) The current step of the deployment
# Defaults to hiera('step')
#
class tripleo::profile::base::neutron (
- $step = hiera('step'),
+ $sync_db = true,
+ $step = hiera('step'),
) {
- if $step >= 4 {
+ if hiera('step') >= 4 or ( hiera('step') >= 3 and $sync_db ) {
include ::neutron
include ::neutron::config
}