On Wed, Feb 16, 2011 at 12:52:49AM -0800, David Kramer wrote:

> <% if tagged(development) %>

In ERB the syntax is different I believe. The tagged() is in manifest
syntax.

In ERB land, you have access to tags via:

<% tags.each do |tag| -%>

So perhaps something like
<% if tags.include?( "development" ) %>

See http://docs.puppetlabs.com/guides/templating.html "Access to defined
tags and classes"

-- 
ben

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