Skip to content

git.latest says: I don't handle protocol '/root/https #15519

Closed
@the-l-a-cat

Description

When I ask a state to clone me a git repository it fails with an error I can't make any sense of.

This is the relevant part of the output of state.highstate call:

          ID: zsh
    Function: git.latest
        Name: https://github.com/zsh-users/zsh-syntax-highlighting
      Result: False
     Comment: Cloning into '/usr/share/zsh/plugins/zsh-syntax-highlighting'...
              fatal: I don't handle protocol '/root/https'
     Changes:   

And there's the related fragment of sls.

 zsh:                                                                    
    pkg.installed:                                                      
        - name: zsh                                                     
    git.latest:                                                         
        - name: https://github.com/zsh-users/zsh-syntax-highlighting    
        - target: /usr/share/zsh/plugins/zsh-syntax-highlighting        

I found the error mentioned once in freenode salt channel logs but regretfully no solution was apparent there.

 # salt-call --versions-report
           Salt: 2014.1.10
         Python: 2.7.6 (default, Mar 22 2014, 22:59:56)
         Jinja2: 2.7.2
       M2Crypto: 0.21.1
 msgpack-python: 0.3.0
   msgpack-pure: Not Installed
       pycrypto: 2.6.1
         PyYAML: 3.10
          PyZMQ: 14.0.1
            ZMQ: 4.0.4
 # uname -a
 Linux host 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Assignees

Labels

P3Priority 3PlatformRelates to OS, containers, platform-based utilities like FS, system based appsUpstream-Bugis a result of an upstream issue, not in saltseverity-low4th level, cosemtic problems, work around exists

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions