Fix dot-dash in pe version string on debian

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
We added directories to incoming, cp -r to move to pending

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Create pending directory in rpm packaging before scping to it
Don't create a deb directory in rpm job

This should only be creating pending/$NAME-$VERSION, not the deb
directory inside of it.
Exclude fuse-extra from project.clj

We just noticed that the latest version of activemq is dragging in
a new dependency: `org.fusesource.fuse-extra/fusemq-level`.
This new dependency doesn't seem to be used (need to test that theory!)
and adds 20MB of bloat to our uberjar.
(#17178) Update rubylib on debian/ubuntu installs

Previously the terminus would be installed to the 1.8 sitelibdir for ruby1.8 or
the 1.9.1 vendorlibdir on ruby1.9. The ruby1.9 code path was never used, so
platforms with ruby1.9 as the default (such as quantal and wheezy) would not be
able to load the terminus. Modern debian packages put version agnostic ruby
code in vendordir (/usr/lib/ruby/vendor_ruby), so this commit moves the
terminus install dir to be vendordir.
Add initial packaging yaml files to './ext'

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move :uberjar task into its own Rake file

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move tarball create task into its own Rake file

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Add a Rake file with a task for cloning the packaging repo

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Add loading of new separate tasks to top-level Rakefile

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove all rpm-related tasks and variables from Rakefile

We're going to let the packaging repo handle this.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Update the project.clj file to use `rake version`

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move redhat spec erb into ext/redhat

Per packaging repo standard

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Break :template out into its own file

We also remove the rpm spec template, since the packaging repo does
this.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
We need the new Rake task files in our tarball as well

Otherwise `rake install` in the spec/rules won't work.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move install task into its own Rakefile

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Define JAR_FILE at the top of Rakefile

because we need it everywhere.
Spec fixups to remove os-based erb conditionals

The problem with evaluating os-based conditionals in the erb templating
is that it forces us to use different srpms for different OS's etc. This
becomes less sustainable as we try to automate more of this with the
packaging repo, which expects the specfile to take care of itself
regarding such things. This commit replaces some of the conditionals
with actual redhat spec conditionals. The biggest change is that of
changing the puppet_libdir assignment when building for pe to the
ruby sitelibdir, instead of a conditional on ruby version. Additionally,
on the redhat side, we support ruby 1.9 for fedora >= 17, so this commit
changes that conditional from an os_family fact check to a spec file
conditional, to avoid having to build different FOSS rpms for different
ruby versions.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
redirect to moses packaging