Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 75

Query on template multiple conditions

$
0
0
Hi, Is it possible for templates to have multiple if and/or statements. It seems to work ok for 2, however any more than this and it does not seem to work correctly. Details: Works for <% if environment == "qa" and group == "test" %> Does not work for <% if environment == "qa" or environment == "dev" and group == "test" or group == "test2" %>

Viewing all articles
Browse latest Browse all 75

Trending Articles