Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erros while downloading configuration file from puppet master to the agent #9

Open
subhashcbk opened this issue Dec 10, 2012 · 2 comments

Comments

@subhashcbk
Copy link

Hi Guys,

I am new to this puppet. I have a setup where master runs in Linux and agent is running on Windows. I want to configure my windows machine using puppet master, for which I have written a manifest file
which copies a configuration file from the master to my windows client.

When I was trying to run the agent I'm getting the following error:

err: /Stage[main]/Module1/File[change-ip.bat]: Failed to generate additional res
ources using 'eval_generate: Error 400 on SERVER: Not authorized to call search
on /file_metadata/packages/path/set-ip/set_ip.bat with {:recurse=>true, :links=>
"manage", :checksum_type=>"md5"}
err: /Stage[main]/Module1/File[change-ip.bat]: Could not evaluate: Error 400 on
SERVER: Not authorized to call find on /file_metadata/packages/path/set-ip/set_i
p.bat Could not retrieve file metadata for puppet:///packages/path/set-ip/set_ip
.bat: Error 400 on SERVER: Not authorized to call find on /file_metadata/package
s/path/set-ip/set_ip.bat at /mnt/puppetconf/modules/module1/manifests/init.pp:12

Could you please help me in resolving this issue?

Thanks in advance.

Regards,
Subhash

@dcsobral
Copy link
Owner

It's probably missing permissions on either fileserver.conf or auth.conf.

@subhashcbk
Copy link
Author

I have given permission as allow * in both files.
Still facing the same issue.

One basic doubt I have about the sequence of configuration is that, set_ip.bat file (for configuring puppet client) should be placed is the master and later it is fetched by the puppet agent
please clarify this doubt also.

BR, Subhash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants