Add .gitignore and cleanup in functions

* Add .gitignore to not commit files generated by testing scripts
  (run_*.sh)
* Cleanup generated files in functions, before running tests. It avois
  manual cleanup.

Change-Id: I81b4403f7ad083c8339b9bf4dbf184be69f3654f
This commit is contained in:
Emilien Macchi 2016-08-03 17:46:40 -04:00
parent d38f7215c5
commit 211a579dee
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.bundled_gems/
default-config.yaml
puppet-whazz/

View File

@ -4,6 +4,7 @@
#
prepare_environment() {
rm -rf .bundled_gems puppet-whazz default-config.yaml
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
gem install bundler --no-rdoc --no-ri --verbose