file { "/etc/foo.conf": ... content => template("foo.conf.erb"), require => [ Facter[mycustomfact], ... ] }
The template foo.conf.erb needs the fact mycustomfact to create the file. Currently I'm getting the error:
err: Could not retrieve catalog: Failed to parse template foo.conf.erb: Could nto find favlue for 'mycustomfact' at /etc/puppet/ manifests/classes/foo.pp on node oldserver.foo.com
- JimP --- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $ __o j...@pirzyk.org ------------------------------------------- _'\<,_ (*)/ (*) I'd rather be out biking.
PGP.sig
Description: This is a digitally signed message part