Loading manifests/public_tmp.pp 0 → 100644 +12 −0 Original line number Diff line number Diff line # Override systemd's apache configiuration. class su_apache::systemd_override ( $private_tmp = true ) { systemd::dropin_file { 'apache2.conf': unit => 'apache2.service', content => template('su_apache/systemd-dropin/apache2.conf.erb'), } } templates/systemd-dropin/apache2.conf.erb 0 → 100644 +9 −0 Original line number Diff line number Diff line <%- if (@private_tmp) then privatetmp = 'true' else privatetmp = 'false' end -%> [Service] PrivateTmp=<%= privatetmp %> Loading
manifests/public_tmp.pp 0 → 100644 +12 −0 Original line number Diff line number Diff line # Override systemd's apache configiuration. class su_apache::systemd_override ( $private_tmp = true ) { systemd::dropin_file { 'apache2.conf': unit => 'apache2.service', content => template('su_apache/systemd-dropin/apache2.conf.erb'), } }
templates/systemd-dropin/apache2.conf.erb 0 → 100644 +9 −0 Original line number Diff line number Diff line <%- if (@private_tmp) then privatetmp = 'true' else privatetmp = 'false' end -%> [Service] PrivateTmp=<%= privatetmp %>