anchor.diff:  BuildRequires: pe-ruby
   Requires:      pe-puppet >= 2.7.12
   <% else -%>
  -BuildRequires: facter, puppet
  +BuildRequires: facter >= 1.6.8
  +BuildRequires: puppet >= 2.7.12
   BuildRequires: rubygem-rake
   BuildRequires: ruby
   Requires:      puppet >= 2.7.12
  +Requires:      facter >= 1.6.8
   <% end -%>
   BuildArch:     noarch
   %if 0%{?suse_version}
  
positive.code: export NO_BRP_CHECK_BYTECODE_VERSION=true
  %endif
  
  rm -rf $RPM_BUILD_ROOT
  mkdir -p $RPM_BUILD_ROOT/%{_initddir}
  
  <% if @pe -%>
  PATH=/opt/puppet/bin:$PATH rake install PARAMS_FILE= DESTDIR=$RPM_BUILD_ROOT PE_BUILD=true
  
negative.code: BuildRequires: sles-release
  Requires:      aaa_base
  Requires:      pwdutils
  Requires:      logrotate
  BuildRequires: java-devel
  Requires:      java
  %else
  BuildRequires: /usr/sbin/useradd
  Requires:      chkconfig
  BuildRequires: %{open_jdk}
  Requires:      %{open_jdk}
  %endif
  
  %description
  Puppet Centralized Storage.
  
  %package terminus
  Summary: Puppet terminus files to connect to PuppetDB
  %if 0%{?suse_version}
  Group: System/Libraries
  %else
  Group: Development/Libraries
  %endif
  <% if @pe -%>
  Requires: pe-puppet >= 2.7.12
  <% else -%>
  