Skip to content

WIP (maint) have beaker tests use the host.hostname instead of host.name#910

Closed
anodelman wants to merge 1 commit intopuppetlabs:masterfrom
anodelman:beaker-vm-hostname-mismatch
Closed

WIP (maint) have beaker tests use the host.hostname instead of host.name#910
anodelman wants to merge 1 commit intopuppetlabs:masterfrom
anodelman:beaker-vm-hostname-mismatch

Conversation

@anodelman
Copy link
Contributor

  • when you want the current hostname use host.hostname, for some
    provisioners host.name is the name provided by the user but the
    current hostname is generated on the fly and thus different.

This will depend on voxpupuli/beaker#205 landing and being rolled into a gem - we may want to pin to a beaker version to ensure that this works once the update rolls out.

- when you want the current hostname use host.hostname, for some
  provisioners host.name is the name provided by the user but the
  current hostname is generated on the fly and thus different.
@pljenkinsro
Copy link

Can one of the admins verify this patch?

1 similar comment
@pljenkinsro
Copy link

Can one of the admins verify this patch?

@kbarber
Copy link
Contributor

kbarber commented Apr 6, 2014

@anodelman does this work when using vagrant?

BTW ... I'm already pinning against a branch of beaker I'm waiting to get merged in due to an issue I had to fix relating to EC2 zombies. So we can't then pin against this as well, I'd rather we got a real release if possible.

@kbarber kbarber changed the title (maint) have beaker tests use the host.hostname instead of host.name WIP (maint) have beaker tests use the host.hostname instead of host.name Apr 6, 2014
@kbarber
Copy link
Contributor

kbarber commented Apr 6, 2014

@anodelman also, vmhostname doesn't get populated in our main provider blimper.rb either. Will this just break in this case, or is the fallback to name enough?

@kbarber
Copy link
Contributor

kbarber commented Apr 7, 2014

@anodelman btw, this will need targeting at 1.5.x anyway, can you re-aim this PR at that branch?

@kbarber
Copy link
Contributor

kbarber commented Apr 8, 2014

@anodelman hiya, any comments on my comments? I think this will need retargeting for another branch anyway (1.5.x), since we usually target testing changes at all our active branches. Re-open when you're ready.

@kbarber kbarber closed this Apr 8, 2014
@anodelman
Copy link
Contributor Author

@kbarber sorry, missing these comments. What branch do you want this targeted against? This will continue to work with blimpy/your ec2 support as you rename the box - so it defaulting to host[:name] will be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants