get_facts.sh in rspec-puppet-facts-0.2.2 vs get_facts.sh in rspec-puppet-facts-0.2.3
- old
+ new
@@ -1,8 +1,8 @@
#!/bin/bash
-# Fix for squeeze and el7
-export PATH=$PATH:/var/lib/gems/1.8/bin/:/usr/local/bin
+# Fix for squeeze, el7 and arch
+export PATH=$PATH:/var/lib/gems/1.8/bin/:/usr/local/bin:/root/.gem/ruby/2.1.0/bin
# Install latest version of facter
gem install bundler --no-ri --no-rdoc
bundle install --path vendor/bundler
operatingsystem=$(bundle exec facter operatingsystem | tr '[:upper:]' '[:lower:]')