Hi, when I use a template with such code: <% if @LDAPpuppetVar %> do something <% end %> it works in a way: If the puppetVar in LDAP exist, than do something, else ignore. But how could I manage, that if the puppetVar in LDAP exist than do something, else do something other? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ae82fc34-bf9e-4b97-b79d-14a4a3dddc91%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.