summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker_helper.rb
AgeCommit message (Collapse)Author
2014-07-14(maint) Use `copy_module_to` in `beaker_helper.rb`Justin Stoller
Previously we were using `puppet_module_install()`. Which was ported from Beaker-RSpec. Unfortunately for our heros that method has been refactored since this was ran last. The method `puppet_module_install()` in Beaker installs from the public forge, while the previous behavior, installing via scp from the current directory, has moved to the method `copy_module_to`. This updates the helper for the beaker tests to use the updated method.
2014-07-11The helper calls host outside of an each loopHunter Haugen
2014-06-18(QENG-798) Update acceptance helpers to create distmoduledirJustin Stoller
Previously we were creating the module dir on foss installs, but not on PE. PE agents do not have a module dir deployed as part of the base PE install, so to test on PE agents we need to create the module dir. `mkdir -p` is idempotent, so we use it as a cudgle here. We also update the beaker_helper and spec_helper_acceptance to contain the same installation steps for test dependencies, warnings, and installation methods.
2014-06-16Correct gitconfig typoHunter Haugen
2014-06-16More typosHunter Haugen
2014-06-16Fix typo in mkdirHunter Haugen
2014-06-16Need to make the moduledir before scping the module to agentsHunter Haugen
2014-06-16Patch beaker spec helper for create_remote_fileHunter Haugen
2014-05-27Update tests for ubuntu 14.04Hunter Haugen
In ubuntu 14.04 git 1.9.1 is the default version, and 1.9+ fatally fail if the user.email and user.name are not set (previously it would just warn). This commit sets those up so the tests will actually run.
2014-05-21Update specs and fix FM-1361Hunter Haugen
- Add install.rb for pre-suite - Add catches for failures/changes to manifest application - Correct root ssh key copying - Add sleeps for killing processes releasing ports - Fix FM-1361