Hi, On 24.07.2009, at 22:17, lance dillon wrote:
I only want the line to be included if $role exists and is equal to fast. If $role doesn't exist, or doesn't equal "fast", it shouldn't include the line:Jul 24 19:59:40 lonengbld01 puppetmasterd[3095]: Failed to parse template repo/R edHat-4/extras.repo: Could not find value for 'role' at /etc/puppet/ modules/repo/manifests/init.pp:121 on node blah
We use: <% if defined?(role) and role == "fast" -%> this line is here now <% end -%> Bye. udo. -- ---[ Institute of Cognitive Science @ University of Osnabrueck ---[ Albrechtstrasse 28, D-49076 Osnabrueck, 969-3362 ---[ Documentation: https://doc.ikw.uni-osnabrueck.de
smime.p7s
Description: S/MIME cryptographic signature