set execute bit on test_file

b/c it is intended to be executed.
This commit is contained in:
Dan Bode
2013-03-01 17:34:04 -08:00
parent b44e24061c
commit 849e432088
2 changed files with 8 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ class openstack::test_file(
file { $path:
content => template('openstack/test_nova.sh.erb'),
mode => '0751',
}
}

View File

@@ -0,0 +1,7 @@
require 'spec_helper'
describe 'openstack::test_file' do
it do
should contain_file('/tmp/test_nova.sh').with_mode('0751')
end
end