Fix creation of rc.local on Amazon Linux and add VG activation on device scanning.
expand the yum-lock timeout patch to all instance types
disable yum update-motd plugin
Merge branch 'master' into mainline
Trigger autofs restart once when OpsWorks map and/or master map changed.
fix and test database.yml generation
Let every file change trigger an autofs restart.
Fix ganglia cookbook plugin system and layer awareness.

cr https://cr.amazon.com/r/1616809/

group conditional into block

cr https://cr.amazon.com/r/1616809/
Fix stop ganglia client conditional
change yum.conf instead of replacing it
Enabling a mount point (i.e. writing /etc/fstab) does not depend on /etc/mtab entry.
Chef 0.9 seems to ignore duplicate resources - work around that for fstab entry.
Stricter dependency flow to avoid race conditions between blkid and mkfs.
Rakefile: platform_family is a known attribute
Rakefile: syntax-check all files
Rakefile: make it work with Ruby 1.8
Handle version lock changes for Amazon Linux
Be a bit more strict with the ruby version parsing.
Fix passenger module path for newer versions.
Generate a motd when synchronizing stack changes.