Skip to content

Commit

Permalink
set PrivateTmp=true for puppetserver
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ekohl committed Nov 6, 2023
1 parent b48699c commit b2139a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manifests/server/puppetserver.pp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,14 @@
unit => 'puppetserver.service',
content => "[Service]\nLimitNOFILE=${max_open_files}\n",
}

# https://github.com/puppetlabs/ezbake/pull/623
systemd::dropin_file { 'puppetserver.service-privatetmp.conf':
ensure => present,
filename => 'privatetmp.conf',
unit => 'puppetserver.service',
content => "[Service]\nPrivateTmp=true\n",
}
} else {
file_line { 'puppet::server::puppetserver::max_open_files':
ensure => $ensure_max_open_files,
Expand Down

0 comments on commit b2139a3

Please sign in to comment.