Sha256: 4373302c870ffe67dbb137a0529bf02e7f9f6f83ea155fe17aac06c630efd7be

Contents?: true

Size: 1.87 KB

Versions: 7

Compression:

Stored size: 1.87 KB

Contents

Feature: dns_resolution
  Landrush should make a virtual machine's IP address DNS-resolvable.

  Scenario Outline: booting a box
    Given a file named "Vagrantfile" with:
    """
    Vagrant.configure('2') do |config|
      config.vm.box = '<box>'
      config.vm.hostname = 'my-host.landrush-acceptance-test'
      config.vm.network :private_network, ip: '10.10.10.123'

      config.vm.synced_folder '.', '/vagrant', disabled: true

      config.landrush.enabled = true
      config.landrush.tld = 'landrush-acceptance-test'
    end
    """
    When I successfully run `bundle exec vagrant up --provider <provider>`
    Then the hostname "my-host.landrush-acceptance-test" should resolve to "10.10.10.123" on the internal DNS server
    And the hostname "my-host.landrush-acceptance-test" should resolve to "10.10.10.123" on the host
    And the hostname "my-host.landrush-acceptance-test" should resolve to "10.10.10.123" on the guest

    When I successfully run `bundle exec vagrant landrush set my-static-host.landrush-acceptance-test 42.42.42.42`
    Then the hostname "my-static-host.landrush-acceptance-test" should resolve to "42.42.42.42" on the internal DNS server
    And the hostname "my-static-host.landrush-acceptance-test" should resolve to "42.42.42.42" on the host
    And the hostname "my-static-host.landrush-acceptance-test" should resolve to "42.42.42.42" on the guest

    When I successfully run `bundle exec vagrant landrush set my-static-cname-host.landrush-acceptance-test my-static-host.landrush-acceptance-test`
    Then the hostname "my-static-cname-host.landrush-acceptance-test" should resolve to "42.42.42.42" on the internal DNS server
    And the hostname "my-static-cname-host.landrush-acceptance-test" should resolve to "42.42.42.42" on the host

    Examples:
      | box             | provider   |
      | debian/jessie64 | virtualbox |
      #| ubuntu/wily64   | virtualbox |

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
landrush-1.1.2 features/dns_resolution.feature
landrush-1.1.1 features/dns_resolution.feature
landrush-1.1.0 features/dns_resolution.feature
landrush-1.1.0.beta.4 features/dns_resolution.feature
landrush-1.1.0.beta.3 features/dns_resolution.feature
landrush-1.1.0.beta.2 features/dns_resolution.feature
landrush-1.1.0.beta.1 features/dns_resolution.feature