]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Adds sudo check for privileged operations.
authorDave Wilde <david.wilde@rackspace.com>
Sun, 19 May 2013 10:05:39 +0000 (10:05 +0000)
committerDave Wilde <david.wilde@rackspace.com>
Mon, 20 May 2013 06:18:33 +0000 (06:18 +0000)
commit1c8f3bf2c667bf4a79877fca630c3bbc20993b97
tree0cccf192837e5b0e86beb244278afe6c0fc1249d
parent75c449fcb7bf7f579d7d974968b6ffaf045de26b
Adds sudo check for privileged operations.

Adds root user check to determine whether or not sudo is required
for MySQL status and installation.  We now run sudo -l to verify
that the user is in the sudoers file, the credentials are then
cached for the rest of the operations.

bug 1181701

Change-Id: I294b269046ee2049b0fdee3c871096387cefbf24
bin/heat-db-setup