...
Run your acceptance tests. You can use
rake -D acceptanceto andrake -D beakerto see all the variable available for acceptance testing.:Code Block $ BEAKER_destroy=onpass rake acceptance # or whatever rake command you need
- SSH into the created vagrant boxes and run the same manifests that beaker did:
Change into the directory containing the generated Vagrantfiles
Code Block $ cd .vagrant/beaker_vagrant_files/default.yml
Run vagrant status to find the names of generated VMs
Code Block $ vagrant status Current machine states: server running (virtualbox) client running (virtualbox) This environment represents multiple VMs. The VMs are all listed above with their current state. For more information about a specific VM, run `vagrant status NAME`.
As vagrant user, SSH from the host machine into a VM listed in the output of the
vagrant statuscommandCode Block $ vagrant ssh server
On the VM, become root
Code Block $ sudo -s
To examine the applied manifests, change to the /tmp directory
Code Block # cd /tmp
Find the manifests and apply them manually with
puppet applyCode Block # ls apply_manifest.pp.yo1P5i # puppet apply apply_manifest.pp.yo1P5i
When you are done debugging, exit out of your SSH session and destroy the VMs
Code Block # exit $ exit $ vagrant destroy
...
| Page Properties | |||
|---|---|---|---|
| |||
|