Re: [Puppet Users] err: compile erro

2011-06-03 Thread Felix Frank
On 05/24/2011 12:07 PM, Denmat wrote: >> content => template("/usr/11.pdf"), > > Try: > source => "/usr/11.pdf" > That should actually be content => file("/usr/11.pdf") As has been pointed out, don't do this with large files, it's not efficient at all. -- You received this message bec

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Sumith Sudhakaran
"source" option is giving error like below, err: /Stage[main]/Motd/File[/opt/libisc.a]: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/usr/local/lib/libisc.a Could not retrieve file metadata for puppet://puppetmaster.localdomain/usr/local/lib/libisc.a: Error

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Denmat
Also, have a look at this link: http://docs.puppetlabs.com/guides/file_serving.html This explains how the fileserver works. On 24/05/2011, at 19:02, Sumith Sudhakaran wrote: > Hi, > > below I am mentioning my manifests file > > file { "/usr/11.pdf": > owner => "root", > group

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Denmat
Hi, You trying to use a PDF as a template file? I think I've already told you that template won't work as you are telling puppet to use the erb interpreter. > content => template("/usr/11.pdf"), Try: source => "/usr/11.pdf" or use a uri to to location of the file. I strongly urge you

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Sumith Sudhakaran
Hi, below I am mentioning my manifests file file { "/usr/11.pdf": owner => "root", group => "root", mode => 664, content => template("/usr/11.pdf"), } On Tue, May 24, 2011 at 1:05 PM, Denmat wrote: > Hi, > > It is complaining that you have an illegal character

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Sumith Sudhakaran
But when I am trying to transfer, getting error only err: Could not retrieve catalog from remote server: Error 400 on SERVER: compile error (erb):2385: Invalid char `\217' in expression (erb):2385: Invalid char `\333' in expression (erb):2385: Invalid char `\026' in expression (erb):2385: Invalid

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Denmat
No, there is no file limit that I'm aware of. It uses https to copy the file and on the native webrick server maybe you're hitting some inherent timeout or other. There are some old pre .25 discussions on it. http://groups.google.com/group/puppet-users/browse_thread/thread/7e91404c1673b2b1 Ba

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Denmat
Hi, It is complaining that you have an illegal character in your ERB file. We will need to see more of your manifest to help any further. Have a look at these links and see if they don't help you first. http://docs.puppetlabs.com/guides/templating.html#syntax-checking http://www.devco.net/pubw

Re: [Puppet Users] err: compile erro

2011-05-24 Thread Sumith Sudhakaran
Hi, Thanks for the reply When I am trying to transfer/update a big file ( more than 3mb ) from server to agent, its copying/updaing only 275kp . Please let me know if any file limit settings in puppet configuration. On Tue, May 24, 2011 at 1:05 PM, Denmat wrote: > Hi, > > It is complaining th

[Puppet Users] err: compile erro

2011-05-24 Thread Sumith Sudhakaran
Hi, I am trying to transfer more than 3mb file form puppet server to client, I am error like below err: compile error (erb):1189: Invalid char `\027' in expression Please help. -- * Regards*** * Sumith** * -- You received this message because you are subscribed to the Google Groups "Puppet