Skip to content

Use --global when installing enterprise CLI on 1.11/1.10#70

Open
jgehrcke wants to merge 1 commit into
masterfrom
jp/try-to-fix-11
Open

Use --global when installing enterprise CLI on 1.11/1.10#70
jgehrcke wants to merge 1 commit into
masterfrom
jp/try-to-fix-11

Conversation

@jgehrcke

Copy link
Copy Markdown
Contributor

self.exec_command(
["dcos", "package", "install", "dcos-enterprise-cli", "--cli", "--yes"])

if '1.11' in DCOS_CLI_URL or '1.10' in DCOS_CLI_URL:

@cprovencher cprovencher Dec 17, 2018

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest:

cmd = ["dcos", "package", "install", "dcos-enterprise-cli", "--cli", "--yes"]
if '1.11' in DCOS_CLI_URL or '1.10' in DCOS_CLI_URL:
    # An attempt to work around
    # https://jira.mesosphere.com/browse/DCOS-45738
    cmd.append('--global')
self.exec_command(cmd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants