def get_cluster_role_env(cluster_role_env):
parts = cluster_role_env.split('<STR_LIT:/>')[:<NUM_LIT:3>]<EOL>if len(parts) == <NUM_LIT:3>:<EOL><INDENT>return (parts[<NUM_LIT:0>], parts[<NUM_LIT:1>], parts[<NUM_LIT:2>])<EOL><DEDENT>if len(parts) == <NUM_LIT:2>:<EOL><INDENT>return (parts[<NUM_LIT:0>], parts[<NUM_LIT:1>], "<STR_LIT>")<EOL><DEDENT>if len(parts) == <NUM_LIT:1>:<EOL><INDENT>return (parts[<NUM_LIT:0>], "<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>return ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>
Parse cluster/[role]/[environ], supply empty string, if not provided