Ask Your Question
0

Pe-repo Install Error Puppet 3.2

asked 2014-03-07 08:30:33 -0500

olmectech gravatar image

updated 2014-03-08 05:56:58 -0500

Stefan gravatar image

Has anyone seen this error?

err: curl -f -L -o puppet-enterprise-3.2.0-el-6-x86_64-agent.ta.gz https://s3.amazonaws.com/pe-builds/released/3.2.0/puppet-enterprise-3.2.0-el-6-x86_64-agent.tar.gz returned 7 instead of one

My server can see https://s3.amazonaws.com but can't retrieve puppet-enterprise-3.2.0-el-6-x86_64-agent.tar.gz.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-03-08 06:06:44 -0500

Stefan gravatar image

The first thing you want to do is to run the curl command from the console. If this does work they are a few possible reasons why it does not in puppet, e.g.

  • the curl is executed in a directory where it cannot store the downloaded file (since you do not provide an absolute path to -o)
  • puppet might be unable to find curl if your exec does not specify the path parameter. Personally I always use absolute pathnames to executables in exec resources
  • the executable expects to be run in a pty which puppet does not provide

Just ... (more)

edit flag offensive delete link more

Comments

Thank you for your answer. I figured out it's a firewall issue on my network. Getting "curl: (7) couldn't connect to host" when I run the curl command ...(more)

olmectech gravatar imageolmectech ( 2014-03-10 07:36:38 -0500 )edit

I have the same problem, no fw at all and I so get error when I run curl from command line, is there a way I can download this package ...(more)

ellanosv gravatar imageellanosv ( 2014-03-13 11:50:54 -0500 )edit

I set the proxy env variables for the user running puppet enterprise (in my case root) and the curl was successful. Curl will look for these environment variables on execution. e.g. http_proxy=myproxy.app.com:80

JoshRoberts gravatar imageJoshRoberts ( 2014-05-21 00:49:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-07 08:30:33 -0500

Seen: 443 times

Last updated: Mar 08 '14