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:
parent
c29fb59a68
commit
78a2530e03
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue