Skip to content

Commit b2139a3

Browse files
evgeniekohl
authored andcommitted
set PrivateTmp=true for puppetserver
1 parent b48699c commit b2139a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

manifests/server/puppetserver.pp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,14 @@
214214
unit => 'puppetserver.service',
215215
content => "[Service]\nLimitNOFILE=${max_open_files}\n",
216216
}
217+
218+
# https://github.com/puppetlabs/ezbake/pull/623
219+
systemd::dropin_file { 'puppetserver.service-privatetmp.conf':
220+
ensure => present,
221+
filename => 'privatetmp.conf',
222+
unit => 'puppetserver.service',
223+
content => "[Service]\nPrivateTmp=true\n",
224+
}
217225
} else {
218226
file_line { 'puppet::server::puppetserver::max_open_files':
219227
ensure => $ensure_max_open_files,

0 commit comments

Comments
 (0)