Fixing kwarg name for centos repository

Kwarg "root_as_root" in cdh.commands.write_centos_repository is
unrecognized. The kwarg name is "run_as_root."

Change-Id: I11d36d5676b68f706f76f85dd41df73b3e886727
Closes-Bug: #1533370
This commit is contained in:
Ethan Gafford 2016-01-19 10:45:09 -05:00
parent b2b6ae662b
commit b810bc0a83
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def add_centos_repository(r, repo_list_url, repo_name):
def write_centos_repository(r, repo_content, repo_name):
r.write_file_to('/etc/yum.repos.d/%s.repo' % repo_name,
repo_content, root_as_root=True)
repo_content, run_as_root=True)
def start_mysql_server(remote):