Create /var/cache/swift directory
Default directory for middleware like Swift-recon
This commit is contained in:
parent
05d44d8e78
commit
2bb6be25bd
@ -54,4 +54,9 @@ class swift(
|
||||
mode => 0660,
|
||||
content => template('swift/swift.conf.erb'),
|
||||
}
|
||||
|
||||
file { '/var/cache/swift':
|
||||
ensure => directory,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -54,6 +54,9 @@ describe 'swift' do
|
||||
it {should contain_file('/var/run/swift').with(
|
||||
{:ensure => 'directory'}.merge(file_defaults)
|
||||
)}
|
||||
it {should contain_file('/var/cache/swift').with(
|
||||
{:ensure => 'directory'}.merge(file_defaults)
|
||||
)}
|
||||
it {should contain_file('/etc/swift/swift.conf').with(
|
||||
{:ensure => 'present',
|
||||
:mode => '0660',
|
||||
|
Loading…
x
Reference in New Issue
Block a user