Skip to content

Commit

Permalink
fixup! Combine acceptance test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jul 26, 2021
1 parent 9ad94b6 commit 0fbcac1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/acceptance/puppetserver_latest_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ class { 'puppet':
server => true,
server_max_open_files => 32143,
}
# Puppet 5 + puppet/systemd 3 workaround
if versioncmp($facts['puppetversion'], '6.1') < 0 and $puppet::server_max_open_files {
exec { 'puppetserver-systemctl-daemon-reload':
command => 'systemctl daemon-reload',
refreshonly => true,
path => $facts['path'],
subscribe => File['/etc/systemd/system/puppetserver.service.d/limits.conf'],
}
}
MANIFEST
end
end
Expand Down

0 comments on commit 0fbcac1

Please sign in to comment.