Use DEBUG global
Clean up debugging
Simplify gsub substitutions
Refactor handling of fatal errors
Until we have more fine-grained exception handling, we should not discard valuable debug.
Refactor code which uploads cookbooks / data bags / roles via knife
Refactor variable names for a bit more clarity
Only catch StandardErrors.

We don't want to catch SystemExit, and other Exceptions are serious
enough to warrant a mandatory stacktrace.
Do not make sass stylesheets 0755 but 0644

Part of https://bugzilla.novell.com/show_bug.cgi?id=776583
Get cookbooks, data bags, and roles from files listed in barclamp rpm when on SUSE
Include rpm name in warning / debug messages
barclamp_install.rb: Add --rpm option to tell when to use rpm install

Instead of forcing install from rpm on SLES, add a --rpm option that
will specify if the install process should be done from rpm.

This has the benefit of allowing non-rpm install on SLES too.
install-chef-suse.sh: Rename CROWBAR_TESTING to CROWBAR_FROM_GIT

It's more explicit.
New tool barclamp_extract_locale.rb

extracts locale_addtions section from crowbar.yml and puts it into a separate
yaml file.
Add additional path for reading description for barclamps (bnc#776916)

Needed when installing from packages.
Merge pull request #1809 from vuntz/suse-barclamp-mgmt-rpm

https://github.com/crowbar/crowbar/pull/1809

Merged by devtool for cloudsleuth
install-chef-suse.sh: Install rabbitmq, cinder and quantum barclamps

Also change the order of installation: first core barclamps, then
OpenStack dependencies, and finally OpenStack barclamps.
barclamp_mgmt_lib.rb: Do not add crowbar-{status,failed} multiple times

If a schema migration is called twice (which will happen if
barclamp_install.rb is called more than once for a barclamp), do not
blindly duplicate crowbar-{status,failed} elements.

(cherry-picked & enhanced by Vincent Untz <vuntz@suse.com>)
barclamp_mgmt_lib.rb: Do not call merge_i18n on install if --rpm is used

The locale data is generated at the rpm build time already.
Merge pull request #1810 from vuntz/suse-install-fixes

https://github.com/crowbar/crowbar/pull/1810

Merged by devtool for cloudsleuth