Ask Your Question

Pe-repo Install Error Puppet 3.2

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

olmectech gravatar image

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

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 returned 7 instead of one

My server can see but can't retrieve puppet-enterprise-3.2.0-el-6-x86_64-agent.tar.gz.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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


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 -0600 )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 -0600 )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.

JoshRoberts gravatar imageJoshRoberts ( 2014-05-21 00:49:09 -0600 )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


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

Seen: 458 times

Last updated: Mar 08 '14