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:
parent
b2b6ae662b
commit
b810bc0a83
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user