summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Fields <travis@puppetlabs.com>2014-06-23 17:24:08 -0700
committerTravis Fields <travis@puppetlabs.com>2014-06-23 18:30:42 -0700
commit78f5141290926aaabec3980aae9d923c7bf1d359 (patch)
tree5436a19c9f0a3367325754a7f56e13f3c267f9ed
parent0199e2396aa841fb8d34e8c33da2373e2b2c9416 (diff)
downloadpuppet-stdlib-78f5141290926aaabec3980aae9d923c7bf1d359.tar.gz
puppet-stdlib-78f5141290926aaabec3980aae9d923c7bf1d359.tar.bz2
Removed platform check for facts.d mkdir
-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'