2012-07-23 15:04:14 -07:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2012-02-26 20:51:17 -08:00
|
|
|
describe 'swift::storage::loopback' do
|
2012-07-23 15:04:14 -07:00
|
|
|
# TODO add more unit tests
|
|
|
|
|
|
|
|
let :title do
|
|
|
|
'dans_disk'
|
|
|
|
end
|
|
|
|
|
2015-03-23 18:23:07 +01:00
|
|
|
it { is_expected.to contain_swift__storage__xfs('dans_disk').with(
|
2012-07-23 15:04:14 -07:00
|
|
|
:device => '/srv/loopback-device/dans_disk',
|
|
|
|
:mnt_base_dir => '/srv/node',
|
|
|
|
:byte_size => '1024',
|
|
|
|
:subscribe => 'Exec[create_partition-dans_disk]',
|
|
|
|
:loopback => true
|
|
|
|
) }
|
|
|
|
|
2012-02-26 20:51:17 -08:00
|
|
|
end
|