Skip to main content

Upload large files to Puppet Support

Did this solve your problem?
9 out of 16 found this helpful

How can we improve this article?

5 comments

  • Alex Mesfin

    Hi,

    I am getting this error:

    [root@dccdvtp001 ~]# /opt/puppetlabs/bin/puppet enterprise support --v3 --ticket 37116 --upload --upload-user amesfin
    Error: Could not parse application options: invalid option: --upload

    Alex Mesfin

    0
  • Suzanne Baunsgard

    Hi, it looks like you're getting help already, I've let those folks know that you've left a comment here. If we can make improvements to the article based on your experience, we will do it.

    0
  • Charlie Sharpsteen

    Hi Alex,

    The most common explanation for that error is that your PE version is older than the --upload feature. This flag was added to the LTS in 2018.1.8 and to the STS in 2019.0.3.

    Older PE versions will produce the "invalid option" error that you are seeing.

    0
  • Alex Zbarcea

    how to upload only, or how to run the same with behind proxy (with http_proxy) without the proxy config altering the support commands ? 

    ```
    cat myFile.json | ssh root@remoteSftpServer -o "ProxyCommand=nc.openbsd -X connect -x proxyhost:proxyport %h %p" 'cat > myFile.json'
    ```

    0
  • Charlie Sharpsteen

    The --upload flag uses the SFTP protocol, not HTTP(S). So, variables such as http_proxy have no effect. There is no proxy support for --upload at the moment.

    0

Please sign in to leave a comment.