File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 209209 file { $client_body_temp_path:
210210 ensure => directory ,
211211 owner => $daemon_user ,
212+ mode => ' 0700' ,
212213 }
213214 }
214215
215216 if $proxy_temp_path {
216217 file { $proxy_temp_path:
217218 ensure => directory ,
218219 owner => $daemon_user ,
220+ mode => ' 0700' ,
219221 }
220222 }
221223
Original file line number Diff line number Diff line change 325325 is_expected . to contain_file ( '/run/nginx/client_body_temp' ) . with (
326326 ensure : 'directory' ,
327327 group : 'root' ,
328- mode : '0644 '
328+ mode : '0700 '
329329 )
330330 else
331331 is_expected . to contain_file ( '/var/nginx/client_body_temp' ) . with (
332332 ensure : 'directory' ,
333333 group : 'root' ,
334- mode : '0644 '
334+ mode : '0700 '
335335 )
336336 end
337337 end
341341 is_expected . to contain_file ( '/run/nginx/proxy_temp' ) . with (
342342 ensure : 'directory' ,
343343 group : 'root' ,
344- mode : '0644 '
344+ mode : '0700 '
345345 )
346346 else
347347 is_expected . to contain_file ( '/var/nginx/proxy_temp' ) . with (
348348 ensure : 'directory' ,
349349 group : 'root' ,
350- mode : '0644 '
350+ mode : '0700 '
351351 )
352352 end
353353 end
You can’t perform that action at this time.
0 commit comments