Change contain_exec path from list to string

This commit is contained in:
Branan Purvine-Riley 2012-05-08 15:52:19 -07:00
parent 0684d1f6cd
commit 078cef7f9d
3 changed files with 3 additions and 3 deletions

@ -31,7 +31,7 @@ describe 'swift::ringbuilder::create' do
it { should contain_exec("create_#{type}").with(
{:command => "swift-ring-builder /etc/swift/#{type}.builder create #{param_hash[:part_power]} #{param_hash[:replicas]} #{param_hash[:min_part_hours]}",
:path => ['/usr/bin'],
:path => '/usr/bin',
:creates => "/etc/swift/#{type}.builder" }
)}
end

@ -8,7 +8,7 @@ describe 'swift::ringbuilder::rebalance' do
end
it { should contain_exec("rebalance_#{type}").with(
{:command => "swift-ring-builder /etc/swift/#{type}.builder rebalance",
:path => ['/usr/bin'],
:path => '/usr/bin',
:refreshonly => true}
)}
end

@ -35,7 +35,7 @@ describe 'swift::storage::xfs' do
it { should contain_exec("mkfs-foo").with(
:command => "mkfs.xfs -i size=#{param_hash[:byte_size]} #{param_hash[:device]}",
:path => ['/sbin/'],
:path => '/sbin/',
:refreshonly => true,
:require => 'Package[xfsprogs]'
)}