On 05/02/2011 03:24 PM, Arnau Bria wrote:
<snip>
> /nfs    file:/etc/auto.home     
> -rw,hard,intr,tcp,async,rsize=32768,wsize=32768,timeo=600
> <% if has_variable?("CVMFS_mountpoint") and has_variable?("CVMFS_file") %>
> <%= CVMFS_mountpoint %> <%= CVMFS_file %>
> <% end %>
> 
> This gives :
> 
> err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Failed to parse template computing_autofs/auto.master.erb: uninitialized 
> constant Puppet::Parser::TemplateWrapper::CVMFS_mountpoint at 
> /etc/puppet/manifests/services/workernode/modules/computing_autofs/manifests/init.pp:35

"Constant"?

This is a complete shot in the dark, but have you tried downcasing those
to "cvmfs_mountpoint" and "cvmfs_file"?

Looks to me like ruby thinks its dealing with constants, whereas it
should be looking for variables.

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to