anchor.diff:  %global realversion <%= @version %>
   %global rpmversion <%= @rpmversion %>
   
  -%global rubylibdir        %(/opt/puppet/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
  -%global p_vendor          pe
  +# Application bin dir.
  +%global _app_bindir /opt/puppetlabs/server/apps/<%= EZBake::Config[:real_name] %>/bin
  +# Bin dir where convenience symlinks go.
  +%global _sym_bindir /opt/puppetlabs/server/bin
  +# Bin dir the end user adds to their PATH
  +%global _ux_bindir /opt/puppetlabs/bin
  +# Log directory
  +%global _app_logdir /var/log/puppetlabs/<%= EZBake::Config[:real_name] %>
  +# Run directory, PID files go here
  +%global _app_rundir /var/run/puppetlabs/<%= EZBake::Config[:real_name] %>
  +
  +# Puppet Installation Layout
  +# https://github.com/puppetlabs/puppet-specifications/blob/af82509/file_paths.md
  +%global _app_prefix /opt/puppetlabs/server/apps/<%= EZBake::Config[:real_name] %>
  +%global _app_data /opt/puppetlabs/server/data/<%= EZBake::Config[:real_name] %>
  +
  +%global rubylibdir        %(/opt/puppetlabs/puppet/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
   
   %global _with_systemd  0
   %global _with_sysvinit 0
  
positive.code:     fi
  fi
  %endif
  %{_datadir}/%{realname}/scripts/install.sh postinst_redhat
  
  %preun
  %if %{_systemd_el}
  
negative.code: %if %{_with_sysvinit}
  # Remove the rundir if this is an uninstall (as opposed to an upgrade)...
  if [ "$1" = "0" ]; then
      rm -rf %{_app_rundir} || :
  fi
  
  # Only restart it if it is running
  