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 to read the documentation provided in the various links 
I've included in my replies.

Cheers,
Den

On 24/05/2011, at 19:02, Sumith Sudhakaran <sumit...@gmail.com> wrote:

> 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 <tu2bg...@gmail.com> wrote:
> 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/pubwiki/Puppet/GettingStarted/5
> 
> This is a great site for helping to debug code too:
> http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php
> 
> Cheers,
> Den
> 
> 
> On 24/05/2011, at 17:01, Sumith Sudhakaran <sumit...@gmail.com> wrote:
> 
>> 
>> 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 Users" group.
>> 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.
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 
> 
> 
> -- 
>   Regards
> 
>  Sumith 
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to