Merge pull request #125 from aspiers/release/pebbles/master

https://github.com/crowbar/barclamp-provisioner/pull/125

Merged by devtool for cloudsleuth
do not install gems at sledgehammer runtime when running on SUSE based images
http://lists.us.dell.com/pipermail/crowbar/2013-May/003177.html

(cherry picked from commit 756e8f9a3289b9b264513fadb010ed004a9ca1ea)
(cherry picked from commit a232a69de36ff7e853d898a37bba98268186bd5f)
Use sntp on SUSE; ntpdate was deprecated and is just a wrapper

(cherry picked from commit 6b6677d9fb24ae67df1d5d25c26ce321ac813fa9)

Conflicts:
	updates/control.sh
Write unique MBR disk signatures

This gives BIOS+Linux+autoyast a hint on which disk is which

(cherry picked from commit 77aa0506feffc1d20b4595e6ff15844daf2e7ec7)
Change crowbar_join.*.sh log-path to '/var/log/crowbar-join/'.

Avoids cluttering '/var/log'

(cherry picked from commit cb35737cf12be51c472da94135235ec84b2046c8)
Log to /var/log/crowbar instead of /var/log

(cherry picked from commit e2fbc257d95ba1158468458147a8b4bf44956484)

Conflicts:
	chef/cookbooks/provisioner/templates/default/autoyast.xml.erb
Correctly configure chef-client even if it was already installed

Instead of only configuring it when it's not installed, also check if
the installed config is the sample config. In that case, we can
overwrite it.

Also save the old config file, to be on the safe side.

(cherry picked from commit e3fb6a26acc24d0338e8fb95cb5a7e4d883fd6d9)
fix fetching of authorized_keys creating 404 file

(cherry picked from commit 4cbb9a847bb00cc47dfdb7f454fa8a027b28b3a8)
add cloud-ptf channel to default autoyast profile

(cherry picked from commit ff858b684f01c1f6a91dc03d8beee422060b049c)
add reboot_handler, to be able to trigger reboots

This is needed for being able to switch to other kernels, e.g. when
deploying xen.

(cherry picked from commit 92faa93d6117e68611934d5260f3365f6b52fec4)
make hostname handling more robust

- set domain name correctly in autoyast.xml.erb
- make sure to get correct hostname set in /etc/HOSTNAME for nodes
- wait for hostname in crowbar_join.sh

(cherry picked from commit 1778c062d168f02e04ed660f73c1e3c3e8a2051f)
added timezone to the autoyast file and set it to UTC

(cherry picked from commit d10ed7a86fb77594542ed500f31319b72ad1cfc4)
Allow to provide additional SSH authorized keys.

Admins may want to get onto their machines by other means than crowbar.
This isn't perfect yet, access keys are stored in a hash in the "crowbar"
data bag, so their insert order into ~/.ssh/authorized keys is random :-/

One would have to change the schema to use an array instead. This should pose
no real issue as the has keys (node names) aren't actually used.

(cherry picked from commit b889fc0a2b2e6939a75211f22e0592589423bf55)

Conflicts:
	chef/data_bags/crowbar/bc-template-provisioner.json
Install packages with 'action :upgrade'

(cherry picked from commit b2e4e91e91c296c5377c0da08916d283342ef874)

Conflicts:
	chef/cookbooks/provisioner/recipes/setup_base_images.rb
Remove hard-coded root password from autoyast profile (bnc#775068)

It's possible to specify a root password hash for the client nodes
in the provisioner proposal now.

(cherry picked from commit a46a38380ef1dd1ce2a87f572ef01e9fccb91618)

Conflicts:
	chef/cookbooks/provisioner/recipes/setup_base_images.rb
(autoyast template population moved to update_nodes.rb recipe for Pebbles)
Install suse-cloud-release and supportutils-plugin-susecloud via autoyast.

This allows us to identify and troubleshoot all nodes managed by Crowbar.

(cherry picked from commit f1a9dbb4897b98b430d67c40a5375261b8a970dd)
speed up reboot

(cherry picked from commit 1e61cd728e60032f56bc7c520635954d8980e5b2)
fix logging in autoyast.xml.erb

(cherry picked from commit 60bcc2b5dc6372311e312d5f5d0dc177bb31866f)

Conflicts:
	chef/cookbooks/provisioner/templates/default/autoyast.xml.erb
fix logging location for crowbar_join to be consistent

(cherry picked from commit 08fc3561d18013a18b5777c079d23e881649fdfb)
disable final reboot

this prevents the database proposal from failing in mkcloud

(cherry picked from commit de6dcc873d43c5ee1b11f16831348b6a659672a0)