Fix deletion of local assets.
Default to Ruby 2.1.2 as packages are now available.
fixed parsing of berkshelf version

before the change berkshelf was removed on each run because the parsed
config contains a newline at the end. This breaks the comparison with
the required version. So on each run a old berkshelf version was
detected and berkshelf was purged and reinstalled.

cr https://cr.amazon.com/r/2449648/
Fixed typo in Bershelf

cr https://cr.amazon.com/r/2453669/
Reflect attribute inclusion in unicorn cookbook metadata.
Use Ruby 2.0.0-p481 on Ubuntu 14.04, as p451 does not build on Ubuntu 14.04.

References:
- http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_481/ChangeLog
- https://bugs.ruby-lang.org/issues/9578
- https://bugs.ruby-lang.org/issues/9630
Introduce a common interface for the current package manager in the OpsWorks module.
Add compatibility workarounds for rpm based OS to the opsworks_commons_assets_installer.
Refactor ruby cookbook to handle installation of packages using the opsworks_commons_assets_installer.

cr https://cr.amazon.com/r/2477286/
Fixed Berksfile behavior

If a Berksfile exists in the top level execute it.
If no Berksfile exists in the toplevel but there is exactly one folder
and this folder has a Berksfile then execute this Berksfile.
If there are multiple folders - don't execute anything.

cr https://cr.amazon.com/r/2444617/
Fix errors in OpsWorks::PackageDiscovery.
Support index.html and index.htm as default document

cr https://cr.amazon.com/r/2490522/
in adition to nil check if database is empty

see https://tt.amazon.com/0032177050

cr https://cr.amazon.com/r/2491704/
Revert "Fix errors in OpsWorks::PackageDiscovery."

This reverts commit 28fc1bc822b98c8f68191d55764810a9b3366951.
Invert wrong conditional on exit code for package list command.

Fix conditionals on exit code for package commands and fix return value.

Return nil instead of an enpty hash if package info cannot be retrieved.
Ubuntu 14.04: Use OS packages for Ganglia client packages.
Move haproxy service start after template rendering.

Newer version seems to be pickier about missing directives in config files.
Avoid setting redundant options on gem_package ressource. Use the parameter 'version' for setting the version to install berkshelf.

cr https://cr.amazon.com/r/2511533/
Set default patchlevel for Ruby 1.9.3 to p547.
Use Ganglia OS packages on Ubuntu 14.04 and adapt daemon control.