Skip to content

Commit

Permalink
Removed platform check for facts.d mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Jun 24, 2014
1 parent 0199e23 commit 78f5141
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
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'
Expand Down

0 comments on commit 78f5141

Please sign in to comment.