The puppet error was: err: Failed to apply catalog: Parameter source failed: Could not understand source # This file managed by Puppet
Sorry for not seeing that error before...I kept looking at the "Bad URI" error message which I posted in my original email. So anyway, it turns out I was using 'source' instead of 'content' within my file declaration in my manifest. My working file resource looks like this now: file { "rsyslog.conf": path => "/etc/rsyslog.conf", owner => root, group => root, mode => 644, content => template('syslog/rsyslog.conf.erb'), require => Package["rsyslog"], } All good now. Thanks for the assistance, it gave me a few pointers on troubleshooting templates and puppet manifests. On Tuesday, September 4, 2012 9:03:01 AM UTC-4, jcbollinger wrote: > > > On Friday, August 31, 2012 3:37:48 PM UTC-5, Krzysztof Wilczynski wrote: >> >> Hi, >> >> Works fine for me: >> > >>>> > More generally, the underlying ERB engine will treat anything in your > template but outside ERB blocks (delimited by <% %> or <%= %> or <%# %>) as > literal text, except for <%% (which is translated to <% in the output) and > %%> (which is translated to %>). > > Without the actual error message (or, apparently, the template that causes > it) I can only speculate about what the problem may be, but one thing to > look for would be proper closure of all ERB code blocks before the template > text where the error is reported. > > > John > > > > -- 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/-/FFFd505T5A0J. 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.