aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/overcloud_object.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/overcloud_object.pp')
-rw-r--r--puppet/overcloud_object.pp5
1 files changed, 4 insertions, 1 deletions
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':