Skip to content

Commit f75dbbf

Browse files
author
Ashley Penney
committed
Move into the hosts loop.
1 parent 791fc3d commit f75dbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def psql(psql_cmd, user = 'postgres', exit_codes = [0], &block)
4040
else
4141
install_puppet
4242
end
43-
on hosts, "mkdir -p #{host['distmoduledir']}"
4443
hosts.each do |host|
44+
shell("mkdir -p #{host['distmoduledir']}")
4545
if ! host.is_pe?
4646
# Augeas is only used in one place, for Redhat.
4747
if fact('osfamily') == 'RedHat'

0 commit comments

Comments
 (0)