anchor.diff:  %global  _sharedstatedir /var/lib
   %global  _realsysconfdir /etc
   %global  _initddir   %{_realsysconfdir}/rc.d/init.d
  +%global _rundir /var/run
   
   <% if @pe -%>
   %global p_vendor pe
  
positive.code: # Remove PuppetDB user
  getent group %{name} > /dev/null || groupdel -r %{name}
  getent passwd %{name} > /dev/null || userdel -r %{name}
  
  
  %files
  
negative.code: <% end -%>
  
  mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/log/%{name}
  mkdir -p $RPM_BUILD_ROOT/%{_rundir}/%{name}
  touch  $RPM_BUILD_ROOT/%{_localstatedir}/log/%{name}/%{name}.log
  
  
  %clean
  rm -rf $RPM_BUILD_ROOT
  
  %pre
  # Add PuppetDB user
  