--- driver: name: vagrant provisioner: name: chef_solo |
platforms: - name: opscode-ubuntu-13.10 driver: |
box: opscode-ubuntu-13.10 suites: - name: default run_list: attributes: |
RE: Arthur Autohandle
ok - that sort of worked - stopping another box download:
Software-Engineerings-MacBook-Pro:ubuntuDocker david$ bundle exec kitchen verify
-----> Starting Kitchen (v1.2.1)
-----> Creating <default-opscode-ubuntu-1310>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-13.10'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: default-opscode-ubuntu-1310_default_1398613232856_83690
i have a vagrant vm already running: ubuntu13-10-docker
that i want to test, i didn't want to start a new vm, so i changed the name parameter in the yml file to: ubuntu13-10-docker
platforms:
- name: ubuntu13-10-docker
driver:
box: opscode-ubuntu-13.10
Software-Engineerings-MacBook-Pro:ubuntuDocker david$ bundle exec kitchen verify
-----> Starting Kitchen (v1.2.1)
-----> Creating <default-ubuntu13-10-docker>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-13.10'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: default-ubuntu13-10-docker_default_1398613410107_68802
Skipping Berkshelf with --no-provision
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
but, it started up another vm anyway - is it possible to test the vagrant vm that i already have running or do i always need to start a new one for testing?
--
You received this message because you are subscribed to the Google Groups "Testing with Chef" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testing-with-c...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Instance Driver Provisioner Last Action default-ubuntu-1310 Vagrant ChefSolo <Not Created> default-centos-65 Ec2 ChefSolo <Not Created> |
--- provisioner: name: chef_solo platforms: - name: ubuntu-13.10 driver: name: vagrant box: ubuntu-13.10 - name: centos-6.5 driver: name: ec2 aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %> aws_secret_access_key: <%= ENV['AWS_SECRET_KEY'] %> aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_ID'] %> ssh_key: "<%= ENV['HOME']%>/ec2/kitchen.pem" security_groups_ids: ["sg-334a4258"] region: us-east-1 availability_zone: us-east-1c image_id: ami-8997afe0 username: root |
suites: - name: default run_list: attributes: |
suites: - name: default includes: - centos-6.5 run_list: - recipe[mycookbook::default] |
Instance Driver Provisioner Last Action default-centos-65 Ec2 ChefSolo <Not Created> |
To unsubscribe from this group and stop receiving emails from it, send an email to testing-with-chef+unsubscribe@googlegroups.com.
For me, since it's so easy to create boxes/AMIs with Packer, I just bake in the appropriate settings in the ~/.ssh/config
Host 127.0.0.1
ForwardAgent yesTo unsubscribe from this group and stop receiving emails from it, send an email to testing-with-chef+unsubscribe@googlegroups.com.
suites: - name: default run_list: |
- recipe[apt] - recipe[sublime-text] - recipe[sublime-text::apt-file] - name: gui run_list: - recipe[apt] - recipe[sublime-text] - recipe[sublime-text::apt-file] - recipe[sublime-text::install-ubuntu-desktop] |
suites: - name: default run_list: |
- &common - recipe[apt] - recipe[sublime-text] - recipe[sublime-text::apt-file] - name: gui run_list: - *common - recipe[sublime-text::install-ubuntu-desktop] |
To unsubscribe from this group and stop receiving emails from it, send an email to testing-with-chef+unsubscribe@googlegroups.com.