Ask Your Question

"Error getting repository data for pe_repo, repository not found"

asked 2015-05-11 13:38:57 -0600

tranerek gravatar image

Getting this error while trying to install the puppet agent using the curl install.bash script. I can see that the files are on the server but the repository can't seem to find the location. This is an unaltered fresh install.

edit retag flag offensive close merge delete


To add some more info, I can see that install.bash is trying to execute /packages/3.8.0/el-7-x86_64/el-7-x86_64.bash (which is the correct version). So if I run the curl command against that bash file it's pulls the contents across, but if I curl the folder el-7-x86_64, it returns not found.

tranerek gravatar imagetranerek ( 2015-05-12 11:12:23 -0600 )edit

I've gone as far as just creating an empty folder in the same location as the bash file and it returns not found as well. I've changed the permissions to 644 with no luck.

tranerek gravatar imagetranerek ( 2015-05-12 11:13:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-12 13:44:29 -0600

tranerek gravatar image

I was able to find the issue. Not sure if it's a bug or not, but the folder /opt/puppet/packages/public/puppet-enterprise-3.8.0-el-7-x8664/packages/el-7-x8664 was set to rwx root only.

When I changed it to 751 I was able to successfully install the agent.

edit flag offensive delete link more



Sounds like your umask was set to be too restrictive. What is it set to?

llowder gravatar imagellowder ( 2015-05-13 08:18:51 -0600 )edit

The umask is set to 0077, so I think you may have found our smoking gun. We'll look into getting it set to 0022 and see if that resolves the issue. thanks!

tranerek gravatar imagetranerek ( 2015-05-13 09:53:01 -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: 2015-05-11 13:38:57 -0600

Seen: 1,106 times

Last updated: May 12 '15