puppet-users icon indicating copy to clipboard operation
puppet-users copied to clipboard

erros while downloading configuration file from puppet master to the agent

Open subhashcbk opened this issue 12 years ago • 2 comments

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

subhashcbk avatar Dec 10 '12 06:12 subhashcbk

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

dcsobral avatar Dec 10 '12 11:12 dcsobral

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.

subhashcbk avatar Dec 10 '12 11:12 subhashcbk