Hi,
I can't download file using: source => 'puppet:///modules/mymodule/myfile',

Got this error in puppet client:
err: /Stage[main]/Nginx/File[server_key]: Could not evaluate: Error 403 on 
SERVER: Forbidden request: (HOSTNAME) access to 
/file_metadata/modules/mymodule/myfile [find] authenticated  at line 73 
Could not retrieve file metadata for puppet:///modules/mymodule/myfile: 
Error 403 on SERVER: Forbidden request:(HOSTNAME) access to 
/file_metadata/modules/mymodule/myfile [find] authenticated  at line 73 at 
/etc/puppet/modules/nginx/manifests/init.pp:97


on puppet master I have:
err: /usr/lib/ruby/1.8/puppet/network/rest_authconfig.rb:51:in 
`check_authorization'
/usr/lib/ruby/1.8/puppet/network/rest_authorization.rb:19:in 
`check_authorization'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:66:in `process'
/usr/lib/ruby/1.8/puppet/network/http/webrick/rest.rb:24:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:45:in `listen'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `call'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:42:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `new'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:41:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:38:in `synchronize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:38:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:126:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:141:in `start'
/usr/lib/ruby/1.8/puppet/daemon.rb:124:in `start'
/usr/lib/ruby/1.8/puppet/application/master.rb:202:in `main'
/usr/lib/ruby/1.8/puppet/application/master.rb:146:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:416:in `hook'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:407:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/util/command_line.rb:69:in `execute'
/usr/bin/puppet:4
err: Forbidden request:(HOSTNAME) access to 
/file_metadata/modules/mymodule/myfilet [find] authenticated  at line 73
info: access[/]: defaulting to no access for (HOSTNAME)
warning: Denying access: Forbidden request: (HOSTNAME) access to 
/report/(HOSTNAME) [save] authenticated  at line 73

both client and master are at 2.7.19 version

any help, would be appreciated


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/9OIFXWze2r4J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to