summaryrefslogtreecommitdiff
path: root/spec/spec_helper_acceptance.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-rwxr-xr-xspec/spec_helper_acceptance.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index dc2cfdc..e9ccc68 100755
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -6,12 +6,7 @@ UNSUPPORTED_PLATFORMS = []
unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
if hosts.first.is_pe?
install_pe
- hosts.each do |host|
- if !(host['platform'] =~ /windows/)
- on host, 'mkdir -p /etc/puppetlabs/facter/facts.d'
- end
- end
-
+ on hosts, 'mkdir -p /etc/puppetlabs/facter/facts.d'
else
install_puppet
on hosts, 'mkdir -p /etc/facter/facts.d'