ports/sysutils/puppetserver6/files/patch-ext__ezbake-functions.sh
Romain Tartière ea5dcc2fb1 Update to 6.6.0
- Unbreak on FreeBSD 12+ (this version bundles an updated version of jRuby
  which allows running the PuppetServer on hosts with 64 bits inodes);
- Override the jRuby bundled ffi.rb to workaround a NullPointerException when
  trying to open an inexistent file;
- Remove deprecated Java flags;

Release notes:
https://puppet.com/docs/puppetserver/latest/release_notes.html#puppet-server-660

With hat:	puppet
2019-09-23 18:02:11 +00:00

11 lines
543 B
Bash

--- ext/ezbake-functions.sh.orig 2019-09-17 14:05:56 UTC
+++ ext/ezbake-functions.sh
@@ -126,7 +126,7 @@ init_restart_file()
local group="${GROUP:-puppet}"
if [ ! -e "$restartfile" ]; then
- /usr/bin/install --directory --owner=$user --group=$group --mode=755 "$restart_file_base_dir"
+ /usr/bin/install -d -o $user -g $group -m 755 "$restart_file_base_dir"
if [ $? -ne 0 ]; then
echo "Unable to create or set permissions for restart file at ${restart_file_base_dir}" 1>&2
return 1