Re: [Puppet Users] error using If/Else conditionals inside templates

2011-02-16 Thread Ben Hughes
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?( "develop

[Puppet Users] error using If/Else conditionals inside templates

2011-02-16 Thread David Kramer
I am running Puppet 2.6.4, and have run into a situation where I would like to use conditional statements inside a template ERB file. I am trying to deploy apache virtual host configuration files, and have found that certain environments use SSL certificate files from one vendor and other environm