Check that the reports import dir exists, is a directory, is readable. #18512
puts is STDOUT.puts
Change deprecated 'ftools' to 'fileutils'.
[packaging] Update mocks for rpmbuilder mock format

The Puppet Labs mocks created by rpmbuilder have assumed a new format, pl-el-*
vs el-*, in order to avoid overwriting the configurations supplied by the mock
package. This commit updates the mocks in dashboard to reflect the new
standard, so that we can continue to build packages with builders created with
the rpmbuilder module. It also removes the RC mocks, which are no longer used
in the packaging repo or in the module.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #178 from MosesMendoza/maint/master/update_mocks

[packaging] Update mocks for rpmbuilder mock format
Merge pull request #169 from sodabrew/patch-10

Change deprecated 'ftools' to 'fileutils'.
Merge pull request #170 from sodabrew/patch-11

Check that the reports import dir exists, is a directory, is readable
Tighten up code for rake api tasks, and move common get_node get_group and get_class methods into a shared helper file.
Merge pull request #167 from sodabrew/patch-9more

Significantly reduce code length for rake api tasks
(packaging) Update VERSION to 1.2.23-rc1
(maint) Make rails gems optional for rake tasks

Previously running rake -T without certain gems installed would trigger an
error such as "Could not find test-unit (= 1.2.3) amongst [facter-1.6.16,
json-1.7.5, json2graphite-0.0.7, munin-ruby-0.2.3, netaddr-1.5.0,
yam2g-0.0.1]". This gem (and others), shouldn't be necessary to run the
rakefile, list the tasks, or build packages. This commit addresses that by
iterating over the troublesome requires, rescuing any LoadErrors, and then
printing a message if the dependency could not be loaded.
Merge pull request #179 from haus/make_depends_optional_in_rakefile

(maint) Make rails gems optional for rake tasks
[packaging] remove natty distribution from builds

This commit removes Ubuntu natty from the list of distributions to build for,
as its EOL and we no longer build for it.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
(maint) Improve message during a load error in Rakefile

If the loading fails on "tasks/rails", it is generally because of a dependency
in one of the tasks. The current messaging won't give details of which require
failed in the task. This commit adds the message from the LoadError, which
gives details about which require failed.
Merge pull request #180 from MosesMendoza/maint/1.2rc/remove_natty_cow

[packaging] remove natty distribution from builds
Merge pull request #181 from haus/improve_rakefile_messaging

(maint) Improve message during a load error in Rakefile
(packaging) Update VERSION to 1.2.23-rc2
(#13486) Fix DJ doesn't work in a multi-server env

See:

http://projects.puppetlabs.com/issues/13486
http://projects.puppetlabs.com/issues/9409

This commit adds a patch written by Daniel Pittman and posted at
https://gist.github.com/d023814313208dcc1978 but never merged.

It is the case that users want to deploy multiple instances of Puppet
Dashboard and that this minor bug makes what would otherwise be a
decently straightforward multi-instance deployment non-functional. The
fix is simple. It's past due for this capability to be added out-of-box
to product.
Merge pull request #183 from reidmv/fix/13486/dj_dont_work_in_multiserver_env

(#13486) Fix DJ doesn't work in a multi-server env
Comment out specific gem rack version in our vendored Rails

http://projects.puppetlabs.com/issues/11669