Skip to content
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 FQDN to include vagrantup.com again for non-windows operating sys… #168

Merged
merged 1 commit into from
Jan 5, 2017

Conversation

spion06
Copy link
Contributor

@spion06 spion06 commented May 13, 2015

…tems

@cheeseplus
Copy link
Contributor

What problem is this solving? I'm happy to review just want to make sure this is solving an issue.

@spion06
Copy link
Contributor Author

spion06 commented Jan 16, 2016

This is fixing a regression that was introduced when windows support was added. Before this the node fqdn was instance.name.vagrantup.com. now the fqdn is just instance.name. I use this sometimes to detect that my cookbook is running inside of an integration test and flex a few values automatically. Also, it's generally a good idea to have a domain name so ohai attributes like node['fqdn'] and node['domain'] are set. Also so commands like hostname -f and hostname -d work. The workaround for me now is to just lock into the version of kitchen-vagrant that doesn't have windows support.

@cheeseplus
Copy link
Contributor

👍

@cheeseplus cheeseplus added this to the 0.20.2 milestone Jan 5, 2017
@mwrock
Copy link
Member

mwrock commented Jan 5, 2017

My only concern is that it has been well over a year since introducing the above mentioned change and adding the domain name could possibly brake someone expecting the current convention. We do have other ways to detect if the chef run is running from TK.

Copy link
Member

@mwrock mwrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite my concern I think this adds more good than potential bad.

@mwrock mwrock merged commit 5054ecf into test-kitchen:master Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants