Remove "build" from print_usage()

cmd_build was removed in I3c6b8a59b4935cd46d38639ad369fe21f35f082e,
but the corresponding entry in print_usage() has lingered. Remove
"build" from that function so as not to confuse users.

https://wiki.openstack.org/wiki/Trove/dev-env should probably
be edited to remove the "build" step as well.

Change-Id: I2b7c39b565ce4147ec03adaa583881ba936e4616
Removed dependencies on first-boot.d

Moved scripts from first-boot.d to pre-install.d.
Broke bootstrap_init-mysql.sh script into scripts in extra-data.d and post-install.d.
Added /tmp to apparmor.d/local/usr.sbin.mysqld for restoring backups
    (previously, apparmor was being disabled)

Change-Id: I7541c439e2b5465957b823abf95bbfea47a6d65c
Closes-bug: #1212436
Remove Prefix From Datastore Version Name

given the agreement to concatenate/consolidate datastore-type and
datastore-version for Horizon, it makes sense to change the default
datastore-version names for devstack/redstack, otherwise it will
appear as "mysql-mysql-5.5" vs. something more sensical like
"mysql-5.5".

Change-Id: I2c15ad0860c0c9541390bed891cc5e7ba461e6de
Closes-Bug: #1308809
Update cassandra version from 2.0.5 to 2.0.6

Reasons:
- actual version is 2.0.6

Change-Id: I4fee3f4160e5408d373be33f5a6f035e95283325
Closes-Bug: #1298366
Clean up redstack to use SERVICE_HOST

- Cleaned up redstack to use SERVICE_HOST in places where it was
  using localhost, or a hardcoded IP

- Cleaned up client wrappers to OS services which were also using
  hardcoded paths in their connection URLs

Closes-bug: 1278652
Change-Id: I2a284a476dc325c704d2517616b723ac964420d3
Increased Flavor Disk Size to support MySQL Image

    Gate was failing due to image being too large for the flavor
    disk size of 2 GB.  Increased all flavors to have 3 GB of disk

Change-Id: I2d44b5529d63d1ffe34fbec08b30ea730e163406
Merge "Update cassandra version from 2.0.5 to 2.0.6"
Remove the iptables workaround

    Nova was not choosing the correct interface for external
    network access. Setting the PUBLIC_INTERFACE variable to eth0
    allows Nova to automatically create the correct NAT entry on
    the Compute Node

Change-Id: I7a1d0416145519c3b93999ce4759135742653a66
Closes-Bug: 1301018
Use official Redis Ubuntu package instead of PPA

Change-Id: I68ab7fb32436f13bde86d80f8cc77bd0a7525e37
Implements: blueprint redis-non-ppa
Merge "Removed dependencies on first-boot.d"
Making datastore integration tests run in live mode

Change-Id: Id71debcc5021d88a52586e96803262635802c066
Closes-Bug: #1311383
Add support for kick-starting postgresql

Implements: blueprint more-dstores-kickstart
Change-Id: I57e669d27beed7d762b943d6dcad94bb315ba820
Added gettext to install_prep_packages

To verify the validity of po/pot files, there is now a dependency
on the msgfmt utility found in the gettext package.
(This was introduced by https://review.openstack.org/#/c/84239 )

The gettext package has therefore been added to the redstack
install_prep_packages function.

Change-Id: Iba6688dc3ef77ce6669253115d70a908f089ccd6
Closes-Bug: #1317652
Redstack guest agent fails if user not ubuntu

Added a chown command after useradd to change the ownership
to ${GUEST_USERNAME}
Also noted that the group being applied to GUEST_USERNAME
was incorrect - should be 'sudo'

Closes_Bug: #1317540

Change-Id: Ia670d8b8c9e7f9378a98c9fbc7885e187ef1aaa0
Merge "Added gettext to install_prep_packages"
Merge "Add support for kick-starting postgresql"
Removes mockito from redstack script

Change-Id: I65af78711dc403abc640b97f3472eeb2db8f53d6
Closes-Bug: #1321917
Trove guestagent should not use sample conf

Fixed the trove guestagent to use the config file from
/etc/trove/trove-guestagent.conf instead of using the sample
conf from the trove/etc directory.

Closes-bug: 1176102
Change-Id: I7c55198d6d93f5e909c3b3d9085c08d88561f376
Corrected conditional check for invalid SERVICE_TYPE

Check for invalid SERVICE_TYPE returning FALSE,
as it is using "SERVICE" in place of "SERVICE_TYPE".

Change-Id: Ifed9ace1a9e060d972282784bec931d2a511b51f
Closes-Bug: #1316010
Corrects condition to check valid SERVICE_TYPE

Reasons:
- Currently expr is used to match condition, because of which the if
  part of valid SERVICE_TYPE is used, for eg. "mysq" of "mysql", then
  it is not called as invalid SERVICE_TYPE.

Changes:
- Updates the condition to match SERVICE_TYPE in VALID_SERVICES.

Change-Id: Ia6b1d09d0cb3cf651e08f5c85573e7b32032d9fc
Closes-Bug: #1322612