Remove specific remote freight calls

This commit replaces the devel/final-specific remote freight calls with a
single one, in lieu of increased logic on the remote side of the operation. Now
a remote `rake freight` call is suitable for all our cases.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Hide and deprecate deb rc tasks

We no longer need rc tasks for building debs, the original use case (building
puppet 3 rcs with facter 2 rcs) is no longer pertinent. This commit hides these
tasks and prints a deprecation warning on their use.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Unify rc and final tasks, deb and mock task naming

This commit introduces a deprecate utility method that just prints a
deprecation warning. It deprecates "rc" and "final" tasks in favor of tasks
that handle both now that the devel repos aren't necessary for dependency
resolution when building. The old tasks are hidden, but remain functional for
now. Remote tasks have been cleaned up so that their names match the local
tasks, just under a :remote namespace.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Place remote tasks under a remote namespace

To hopefully clarify the 1:1 relationship between remote and local tasks, this
commit places the new/remaining remote tasks under a :remote namespace,
removing the "remote_*" prefix from the task name.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
We have a deprecate method, lets use it

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Add an is_rc? utility method and use it

This method will return whether or not this is an RC version based on the
string returned by get_dash_version. We use it in building rpms and debs to
determine the status of our build, e.g. rc vs foss.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove unnecessary brackets from regex
Clarify remote task descs, add single build remote tasks
Add basic tests for new is_rc? method.
Make cow builds pass the devel as a string boolean
Fix/remove unnecessary subdir assignments

First, this commit changes the assignment of subdir inside the
build_rpm_with_mocks method to use the argument passed in rather than call out
to the is_rc? method. Second, it removes all the unnecessary assignments of
subdir inside the rake tasks, which used to be necessary but are no longer.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #8 from haus/shipping/master/remove_specific_remote_freight_calls

Add basic tests for new is_rc? method.
Merge pull request #92 from MosesMendoza/shipping/master/remove_specific_remote_freight_calls

Shipping/master/remove specific remote freight calls