vagrant up -- preventing provisioning race conditions with service starts

55 views
Skip to first unread message

Jay Janssen

unread,
Sep 5, 2012, 8:53:36 AM9/5/12
to vagra...@googlegroups.com
I'm running some Centos 6.3 guests and I'm seeing a race condition where when I boot my nodes, the puppet run happens before some of the services have fully started, which occasionally causes puppet to spew errors.  

The service in question is mysql, which has a slowish start, so it seems as if puppet sees it isn't running and tries to start, but only after the init scripts have also started it. 

My general vagrant question is if there is a way to delay provisioning in this case, or if anyone has any other clever techniques to deal with this.
Reply all
Reply to author
Forward
0 new messages