Commits on Jan 10, 2017
  1. Ensure 0755 default mode on new directories

    Some of the directory creation tasks in the horizon role did not have
    default modes set. This causes problems with certain scripts, such as
    the compression of static files at the end of the horizon installation.
    The permissions on `/openstack/venvs` was `0700` and this prevented
    the `horizon` user from running the `` script.
    This patch ensures that all directories are created with `0755`
    permissions by default.
    Closes-Bug: 1655061
    Change-Id: I11798a178df32c477ae1bb45dcf204b4b16c9d1a
    major committed Jan 9, 2017
Commits on Jan 6, 2017
  1. Update and clean up

    The script fails when it is run multiple times on CentOS.
    The `bindep` run returns an empty list of packages and then `yum`
    exits with an error since no packages were provided to install.
    This patch checks the length of the `bindep` output and skips the `yum`
    installation when the package list is empty.
    The patch also cleans up some of the old cruft left over from previous
    scripts and avoids repetition.
    Change-Id: I1dfc18a347386b03196b0a7021cdd01f79124fcf
    Signed-off-by: Major Hayden <>
    major committed Jan 5, 2017