Hi

I'm getting the following error: 

err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Failed to parse template bireportweb/reportdbconfig.xml.erb:
  Filepath: 
/data/ss/svn/puppet/modules/bireportweb/templates/reportdbconfig.xml.erb
  Line: 16
  Detail: undefined method `to_xs' for #<String:0x7f7116858570>


This is the line within the reportdbconfig.xml.erb

      <property name="odaURL" value="<%= db_url.to_xs %>" />


Puppet Master 3.2.3 with ruby 1.8.7p352
puppet agent version 2.7.19 with ruby 1.8.7p72

I've tried installing builder via rubygems, thinking that it is required to 
use the to_xs method, but I get the same error.

Also tested the syntax
erb -P -x -T '-' reportdbconfig.xml.erb | ruby -c 
Syntax OK

Thanks for any pointers.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to