Merge "Permit use of sudo-ldap instead of sudo package"

This commit is contained in:
Zuul 2019-08-20 10:41:05 +00:00 committed by Gerrit Code Review
commit 5406b6f3cc
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ disable_negated_services
# --------------
# We're not as **root** so make sure ``sudo`` is available
is_package_installed sudo || install_package sudo
is_package_installed sudo || is_package_installed sudo-ldap || install_package sudo
# UEC images ``/etc/sudoers`` does not have a ``#includedir``, add one
sudo grep -q "^#includedir.*/etc/sudoers.d" /etc/sudoers ||

View File

@ -32,7 +32,7 @@ GetDistro
source $TOP_DIR/stackrc
# Give the non-root user the ability to run as **root** via ``sudo``
is_package_installed sudo || install_package sudo
is_package_installed sudo || is_package_installed sudo-ldap || install_package sudo
[[ -z "$STACK_USER" ]] && die "STACK_USER is not set. Exiting."