aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--puppet/overcloud_compute.pp4
-rw-r--r--puppet/overcloud_controller.pp4
-rw-r--r--puppet/overcloud_object.pp5
-rw-r--r--puppet/overcloud_volume.pp4
4 files changed, 13 insertions, 4 deletions
diff --git a/puppet/overcloud_compute.pp b/puppet/overcloud_compute.pp
index 2ff31be2..0d2790b2 100644
--- a/puppet/overcloud_compute.pp
+++ b/puppet/overcloud_compute.pp
@@ -24,7 +24,9 @@ if !str2bool(hiera('enable_package_install', 'false')) {
}
}
-include ::ntp
+if count(hiera('ntp::servers')) > 0 {
+ include ::ntp
+}
class { 'nova':
glance_api_servers => join([hiera('glance_protocol'), '://', hiera('glance_host'), ':', hiera('glance_port')]),
diff --git a/puppet/overcloud_controller.pp b/puppet/overcloud_controller.pp
index 5927e2f7..4801107b 100644
--- a/puppet/overcloud_controller.pp
+++ b/puppet/overcloud_controller.pp
@@ -26,7 +26,9 @@ if !str2bool(hiera('enable_package_install', 'false')) {
if hiera('step') >= 1 {
- include ::ntp
+ if count(hiera('ntp::servers')) > 0 {
+ include ::ntp
+ }
# TODO Galara
class { 'mysql::server':
diff --git a/puppet/overcloud_object.pp b/puppet/overcloud_object.pp
index c407afad..8d0ad783 100644
--- a/puppet/overcloud_object.pp
+++ b/puppet/overcloud_object.pp
@@ -23,7 +23,10 @@ if !str2bool(hiera('enable_package_install', 'false')) {
}
}
}
-include ::ntp
+
+if count(hiera('ntp::servers')) > 0 {
+ include ::ntp
+}
include ::swift
class {'swift::storage::all':
diff --git a/puppet/overcloud_volume.pp b/puppet/overcloud_volume.pp
index 9351d708..b433321a 100644
--- a/puppet/overcloud_volume.pp
+++ b/puppet/overcloud_volume.pp
@@ -24,7 +24,9 @@ if str2bool(hiera('disable_package_install', 'false')) {
}
}
-include ::ntp
+if count(hiera('ntp::servers')) > 0 {
+ include ::ntp
+}
include ::cinder
include ::cinder::volume