Sha256: e02f8a56d432d13493a019aaaafff069eb55fe2f8cdb20df235ad6aebf2231d4

Contents?: true

Size: 788 Bytes

Versions: 21

Compression:

Stored size: 788 Bytes

Contents

require "vagrant-spec"

describe "vagrant orchestrate provision", component: "orchestrate/provision" do
  include_context "acceptance"

  # This unique string gets echo'd as part of the provisioning process, so we
  # can check the output for this string. See ../support-skeletons/provision/Vagrantfile
  # for more info.
  PROVISION_STRING = "6etrabEmU8ru8hapheph"

  before do
    environment.skeleton("provision")
  end

  it "Runs the shell provisioner" do
    result = execute("vagrant", "orchestrate", "push", "managed-1")
    expect(result.stdout).to include(PROVISION_STRING)
  end

  it "Doesn't run with --no-provision" do
    result = execute("vagrant", "orchestrate", "push", "managed-1", "--no-provision")
    expect(result.stdout).not_to include(PROVISION_STRING)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
vagrant-orchestrate-0.8.0 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.8.0.pre.3 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.8.0.pre.2 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.8.0.pre.1 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.2 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.1 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre.5 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre.4 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre.3 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre.2 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre.1 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.7.0.pre acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.5 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.3 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.2 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.1 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.1.patch acceptance/command/provision_spec.rb
vagrant-orchestrate-0.6.0 acceptance/command/provision_spec.rb
vagrant-orchestrate-0.5.3 acceptance/command/provision_spec.rb