RANGER-624 : Fix Windows installation issue after SQLAnywhere support

Signed-off-by: Velmurugan Periasamy <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/11391e0f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/11391e0f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/11391e0f

Branch: refs/heads/HDP-2.3.2-groupid
Commit: 11391e0f66f0485173092486fd678e4996b6f410
Parents: 33f8407
Author: Gautam Borad <[email protected]>
Authored: Sat Aug 22 03:42:47 2015 +0530
Committer: Velmurugan Periasamy <[email protected]>
Committed: Mon Aug 24 17:52:11 2015 -0700

----------------------------------------------------------------------
 security-admin/src/bin/ranger_install.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/11391e0f/security-admin/src/bin/ranger_install.py
----------------------------------------------------------------------
diff --git a/security-admin/src/bin/ranger_install.py 
b/security-admin/src/bin/ranger_install.py
index 42142fe..2970715 100644
--- a/security-admin/src/bin/ranger_install.py
+++ b/security-admin/src/bin/ranger_install.py
@@ -310,6 +310,8 @@ def init_variables(switch):
     
conf_dict['postgres_audit_file']=os.path.join(db_dir,'postgres','xa_audit_db_postgres.sql')
     
conf_dict['sqlserver_core_file']=os.path.join(db_dir,'sqlserver','xa_core_db_sqlserver.sql')
     
conf_dict['sqlserver_audit_file']=os.path.join(db_dir,'sqlserver','xa_audit_db_sqlserver.sql')
+    conf_dict['sqlanywhere_core_file']= 
os.path.join(db_dir,'sqlanywhere','xa_core_db_sqlanywhere.sql')
+    conf_dict['sqlanywhere_audit_file']= os.path.join(db_dir, 
'sqlanywhere','xa_audit_db_sqlanywhere.sql')
     #conf_dict['db_core_file']           = os.path.join(db_dir, 
"xa_core_db.sql")
     #conf_dict['db_create_user_file']    = os.path.join(db_dir, 
"create_dev_user.sql")
     #conf_dict['db_audit_file']          = os.path.join(db_dir, 
"xa_audit_db.sql")
@@ -1281,4 +1283,4 @@ def configure():
     # copy_mysql_connector()
     #log(" --------- Creatin Audit DB --------- ","info")
     setup_admin_db_user()
-    setup_audit_user_db()
\ No newline at end of file
+    setup_audit_user_db()

Reply via email to