Ensure ntpdate executes early

This is to avoid any time slew problems related to ntp shifting the time
later on in the background.

Signed-off-by: Ken Barber <ken@bob.sh>
This commit is contained in:
Ken Barber 2013-10-27 00:11:02 +01:00
parent c29fb59a68
commit 78a2530e03

View file

@ -16,6 +16,9 @@ RSpec.configure do |c|
# This is where we 'setup' the nodes before running our tests
c.before :suite do
# Time sync
shell('ntpdate -u pool.ntp.org')
# Install puppet
puppet_install
puppet_master_install