On Monday, November 17, 2014 9:38:17 AM UTC-6, Felice Pizzurro wrote:
>
> Hi all,
>
> I'm simply tryng to push a file with content in template:
>
> file {'/tmp/test':
>   ensure  => present,
>   content => template('modulename/template_file.erb')
> }
>
> Template file contains a line like this:
>
> {FOO}.
>
> note final dot character. The file is correctly created but I have the 
> following error during the filebucket
>
> Error: Could not retrieve content for {FOO}.
>  from filebucket: Invalid checksum ".\n"
> Wrapped exception:
> Invalid checksum ".\n"
>
> If I delete this line or the final dot it works fine. I've also tryed to 
> put the string in a variable but nothing...
>
> Any ideas?
>


This sounds very strange, but your account of the problem is a bit 
fragmented and incomplete.  Can you provide a complete example that 
exhibits this problem?  For example, how about this:

file {'/tmp/test':
  ensure  => present,
  content => '{FOO}.'
}

And on what version of Puppet are you experiencing this?


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7cadb6e3-6d6b-4637-a03b-67e7c63aaf48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to