puppet: only enable Ntp if ntp::servers is set
authorDan Prince <dprince@redhat.com>
Fri, 6 Feb 2015 13:42:59 +0000 (08:42 -0500)
committerDan Prince <dprince@redhat.com>
Fri, 6 Feb 2015 13:42:59 +0000 (08:42 -0500)
commitd5eee576cc2a53aaa0b8e9c5d7efe1b27c11dfa1
tree4061d944185a67ee10f5dce2516db2387bf38e97
parent4d470abc589c660cd55e4ced92de234fdf83d882
puppet: only enable Ntp if ntp::servers is set

Not all installations have an NtpServer configured and if
they don't the ntp service will fail to startup correctly.

This patch makes it so that ntp is only enabled if
the ntp::servers array is greater than 0.

Change-Id: I8417f87ad2a3c1237ebb00ee1232b5313cd45d46
puppet/overcloud_compute.pp
puppet/overcloud_controller.pp
puppet/overcloud_object.pp
puppet/overcloud_volume.pp