Timo Seven
2010-Aug-16 06:17 UTC
[Puppet Users] how to ensure like this like puppet://puppet.server/modules/xxx
Hi all: I want to every client to download a file like test.txt to /etc/ So I write a test.pp class test { file { "/etc/test.txt": source => "puppet://puppet.timo.com/module/test.txt" } } But now in the server log I found the error like "Aug 16 13:21:44 zw_83_193 puppet-master[22362]: Not authorized to call find on /file_metadata/module/test.txt", and the test.txt has not in the all clients. ########################################### Best regards Timo Seven blog: http://zauc.wordpress.com twitter: http://twitter.com/zauc Linux System Admin & MySQL DBA -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
denmat
2010-Aug-17 04:05 UTC
[Puppet Users] Re: how to ensure like this like puppet://puppet.server/modules/xxx
http://docs.reductivelabs.com/guides/modules.html That should explain module organisation for you. You need to configure fileserver.conf and put the module in the right area. See doco for detail. On Aug 16, 4:17 pm, Timo Seven <gre...@gmail.com> wrote:> Hi all: > > I want to every client to download a file like test.txt to /etc/ > > So I write a test.pp > > class test { > file { "/etc/test.txt": > source => "puppet://puppet.timo.com/module/test.txt" > } > > } > > But now in the server log I found the error like "Aug 16 13:21:44 > zw_83_193 puppet-master[22362]: Not authorized to call find on > /file_metadata/module/test.txt", and the test.txt has not in the all > clients. > > ########################################### > > Best regards > Timo Seven > blog:http://zauc.wordpress.com > twitter:http://twitter.com/zauc > Linux System Admin & MySQL DBA-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.