> }
>
> define sensor () {
>   $rules = generate("/usr/local/sbin/get-rules-for ${fqdn} ${name}")
>   # ...and that emits a single string with the right data.
>

It looks as if one can not pass variables into generators to protect
us from ourselves....

"Generators can only contain alphanumerics, file separators, and
dashes at /etc/puppet/modules/monitor/manifests/init.pp:61 "

I may end up using #{var} in the erb....

Russell

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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