anchor.diff:  # symlinks of server binaries
   symbindir=${symbindir:=/opt/puppetlabs/server/bin}
   app_prefix=${app_prefix:=/opt/puppetlabs/server/apps/${real_name}}
  +dest_apps_dir="${DESTDIR}${app_prefix}"
   app_data=${app_data:=/opt/puppetlabs/server/data/${real_name}}
   app_logdir=${app_logdir:=/var/log/puppetlabs/${real_name}}
   system_config_dir=${system_config_dir:=${app_prefix}/config}
  
positive.code: # Install the ezbake package software. This step is used during RPM &
  # Debian packaging during the 'install' phases.
  function task_install {
      install -d -m 0755 "${DESTDIR}${app_prefix}"
      install -d -m 0770 "${DESTDIR}${app_data}"
      install -m 0644 <%= EZBake::Config[:uberjar_name] %> "${DESTDIR}${app_prefix}"
      install -m 0755 ext/ezbake-functions.sh "${DESTDIR}${app_prefix}"
      install -m 0644 ext/ezbake.manifest "${DESTDIR}${app_prefix}"
      install -d -m 0755 "${DESTDIR}${projconfdir}/conf.d"
  
  <% if EZBake::Config[:additional_uberjars]  -%>
    <% EZBake::Config[:additional_uberjars].each do |jar| -%>
      install -m 0644 <%= jar %> "${DESTDIR}${app_prefix}"
    <% end -%>
  <% end -%>
  
  
negative.code:     install -m 0644 <%= config_file %> "${DESTDIR}${projconfdir}/<%= config_file.sub(/^ext\/config\//, "") %>"
  <% end -%>
  
      install -d -m 0755 "${dest_apps_dir}/scripts"
      install -m 0755 install.sh "${dest_apps_dir}/scripts"
  
  <% if ! EZBake::Config[:cli_app_files].empty? -%>
      install -d -m 0755 "${dest_apps_dir}/cli"
      install -d -m 0755 "${dest_apps_dir}/cli/apps"
      install -d -m 0755 "${DESTDIR}${bindir}"
      install -m 0755 "ext/bin/${real_name}" "${DESTDIR}${bindir}/${real_name}"
      install -d -m 0755 "${DESTDIR}${symbindir}"
  