-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- Set hook to run before provisioner so that provisioners that need to c... #20
Conversation
…o communicate to other hosts in the configuration can run. - Don't prevent hook from running when guest is already up. The operation should be idempotent. This was also interfering with setting hostname before the provisioner.
Hello... any thoughts on this? |
I should get a chance to look at this and other pull requests early next week. I've been on vacation and am now catching up on work. |
Understandable. Thank you!
|
Anything more I can provide to get this in? I'd really like to have my team using the 'real' version, I think this is the last hang-up. |
@b2jrock Sorry, been pulled in other directions lately. I looked at the PR briefly but I'm not particularly comfortable with updating the hosts file every time the up command is called. Many vagrant plugins check state before executing an action and I wanted to be consistent (while reducing excess cycles). With that said, I want to support your use case and I have not had time to think about it. Could you clarify the use case a bit further and perhaps look at an alternative approach that ensured that the hosts file was only updated when a new machine is brought online? I'll look at this myself tomorrow and will consider the approach you provided. We should be able to close tomorrow afternoon. |
I agree that it's a bit heavy-handed. I also found that it doesn't play On Mon, Jul 29, 2013 at 2:28 PM, Shawn Dahlen [email protected]:
|
@b2jrock It doesn't look like I will have time in the near future to look at this. If you can find a solution that doesn't require the update of the hosts file every time a command is run, I'd be happy to merge. I'm going to close for now. |
...ommunicate to other hosts in the configuration can run.
Use case for this is: