summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/neutron/server.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/profile/base/neutron/server.pp')
-rw-r--r--manifests/profile/base/neutron/server.pp27
1 files changed, 4 insertions, 23 deletions
diff --git a/manifests/profile/base/neutron/server.pp b/manifests/profile/base/neutron/server.pp
index 20127ed..320f83c 100644
--- a/manifests/profile/base/neutron/server.pp
+++ b/manifests/profile/base/neutron/server.pp
@@ -18,43 +18,24 @@
#
# === Parameters
#
-# [*sync_db*]
-# (Optional) Whether to run Neutron DB sync operations
-# Defaults to undef
-#
-# [*manage_service*]
-# (Optional) Whether to manage the Neutron Server service
-# Defaults to undef
-#
-# [*enabled*]
-# (Optional) Whether to enable the Neutron Server service
-# Defaults to undef
-#
# [*step*]
# (Optional) The current step in deployment. See tripleo-heat-templates
# for more details.
# Defaults to hiera('step')
#
class tripleo::profile::base::neutron::server (
- $sync_db = true,
- $manage_service = undef,
- $enabled = undef,
$step = hiera('step'),
) {
include ::tripleo::profile::base::neutron
- if $step >= 3 and $sync_db {
+ if $step >= 2 {
include ::neutron::db::mysql
}
- if $step >= 4 or ($step >=3 and $sync_db) {
+ if $step >= 4 {
include ::neutron::server::notifications
-
- class { '::neutron::server':
- sync_db => $sync_db,
- manage_service => $manage_service,
- enabled => $enabled
- }
+ include ::neutron::server
}
+
}