File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 334
334
$stopscript = " /usr/local/bin/docker-run-${sanitised_title} -stop.sh"
335
335
$startstop_template = ' docker/usr/local/bin/docker-run.sh.epp'
336
336
$init_template = ' docker/etc/systemd/system/docker-run.erb'
337
- $mode = ' 0640 '
337
+ $mode = ' 0644 '
338
338
}
339
339
' upstart' : {
340
340
$initscript = " /etc/init.d/${service_prefix}${sanitised_title} "
Original file line number Diff line number Diff line change 44
44
let ( :params ) { { 'command' => 'command' , 'image' => 'base' } }
45
45
it { should compile . with_all_deps }
46
46
it { should contain_service ( 'docker-sample' ) }
47
- it { should contain_file ( initscript ) . with_content ( /#{ Regexp . escape ( startscript ) } / ) }
47
+ it { should contain_file ( initscript ) . with_content ( /#{ Regexp . escape ( startscript ) } / ) . with_mode ( '0644' ) }
48
48
it { should contain_file ( initscript ) . with_content ( /#{ Regexp . escape ( stopscript ) } / ) }
49
49
it { should contain_file ( startscript_or_init ) . with_content ( /docker start/ ) . with_content ( /command/ ) . with_content ( /base/ ) }
50
50
You can’t perform that action at this time.
0 commit comments